com.timeindexing.util
Interface Grouping


public interface Grouping

An interface for Grouping a collection.

The method getGroup() returns an object which acts as the identifier for a group. Builtin types cannot be returned, but can be converted to their object types; e.g. int -> Integer.


Method Summary
 java.lang.Object getGroup(java.lang.Object obj)
          Take an object and return an object that specifies the group it is in.
 

Method Detail

getGroup

public java.lang.Object getGroup(java.lang.Object obj)
Take an object and return an object that specifies the group it is in.