|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupHandler
A group handler groups different objects in a same group.
Method Summary | |
---|---|
java.lang.Object |
getGroup(java.lang.Object data)
Returns a object that will be invoked by compareTo(Object)
to identify whether the returned object is in the same group. |
Method Detail |
---|
java.lang.Object getGroup(java.lang.Object data)
compareTo(Object)
to identify whether the returned object is in the same group.
For example, there are two date objects("2010/10/08", "2010/12/21") and they return a same object called "2010", so these two date objects will be the same group("2010").
data
- a data object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |