org.jscience.util
Interface PatternExtractor<T>


public interface PatternExtractor<T>

PatternExtractor provides a way to group objects by a pattern defined by an implementation. Examples for such a pattern would be a hash code, the toString() method or more object specific things, like group Date objects by their month.


Method Summary
 java.lang.Object extractPattern(T obj)
          DOCUMENT ME!
 

Method Detail

extractPattern

java.lang.Object extractPattern(T obj)
DOCUMENT ME!

Parameters:
obj - DOCUMENT ME!
Returns:
DOCUMENT ME!