Package com.jidesoft.grouper
Class DefaultObjectGrouper
java.lang.Object
com.jidesoft.grouper.AbstractObjectGrouper
com.jidesoft.grouper.DefaultObjectGrouper
- All Implemented Interfaces:
ObjectGrouper
Default implementation of
ObjectGrouper
. Its getGroupValue simply returns the value directly.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jidesoft.grouper.AbstractObjectGrouper
getComparatorContext, getConverterContext
-
Constructor Details
-
DefaultObjectGrouper
public DefaultObjectGrouper() -
DefaultObjectGrouper
-
-
Method Details
-
getValue
Description copied from interface:ObjectGrouper
Gets the group value after this value is grouped. If two objects return the same value in this getGroupValue method, the two objects are considered as one group. We assume all values returned from this method are of the same type which is returned inObjectGrouper.getType()
.- Parameters:
value
- the value- Returns:
- the value after grouped.
-
getType
Description copied from interface:ObjectGrouper
Gets the group value type. It should be the type of the value that is returned from the getGroupValue.- Returns:
- the group value type.
-
getName
Description copied from interface:ObjectGrouper
Gets the name of this object grouper.- Returns:
- the name of this grouper.
-
setName
-