Generic Comparator
C G M P S

C

com.myjeeva.comparator - package com.myjeeva.comparator
 
com.myjeeva.comparator.example - package com.myjeeva.comparator.example
 
com.myjeeva.comparator.example.vo - package com.myjeeva.comparator.example.vo
 
compare(Object, Object) - Method in class com.myjeeva.comparator.GenericComparator

G

GenericComparator - Class in com.myjeeva.comparator
Sorting - Generic Comparator
GenericComparator(boolean) - Constructor for class com.myjeeva.comparator.GenericComparator
default constructor - assumes comparator for Type List
GenericComparator(String) - Constructor for class com.myjeeva.comparator.GenericComparator
constructor with sortField parameter for Derived type of Class default sorting is ascending order
GenericComparator(String, boolean) - Constructor for class com.myjeeva.comparator.GenericComparator
constructor with sortField, sortAscending parameter for Derived type of Class
getDob() - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
getEmailId() - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
getHeight() - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
getId() - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
getName() - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
getSalary() - Method in class com.myjeeva.comparator.example.vo.PersonVO
 

M

main(String[]) - Static method in class com.myjeeva.comparator.example.SampleUsageGenericComparator
 

P

PersonVO - Class in com.myjeeva.comparator.example.vo
Sample Value object used of Sorting purpose demonstrating Generic Comparator
PersonVO() - Constructor for class com.myjeeva.comparator.example.vo.PersonVO
 

S

SampleUsageGenericComparator - Class in com.myjeeva.comparator.example
Demonstration of GenericComparator
SampleUsageGenericComparator() - Constructor for class com.myjeeva.comparator.example.SampleUsageGenericComparator
 
setDob(Date) - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
setEmailId(String) - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
setHeight(Float) - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
setId(Integer) - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
setName(String) - Method in class com.myjeeva.comparator.example.vo.PersonVO
 
setSalary(Long) - Method in class com.myjeeva.comparator.example.vo.PersonVO
 

C G M P S
Generic Comparator

Copyright © 2010-2012 www.myjeeva.com, All rights reserved.

The copyright of the pages and contents on this website is with myjeeva.com and the content is licensed under Creative Commons Attribution-Share Alike 3.0 Unported License. Libraries and code snippets on myjeeva.com has license information.