|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.accessor.AccessingComparator<C,V>
public class AccessingComparator<C,V>
Compares to objects by the values returned from an Accessor that is applied to them.
Created: 23.02.2006 18:57:09
| Constructor Summary | |
|---|---|
AccessingComparator(Accessor<C,V> accessor,
java.util.Comparator<V> comparator)
|
|
| Method Summary | |
|---|---|
int |
compare(C o1,
C o2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public AccessingComparator(Accessor<C,V> accessor,
java.util.Comparator<V> comparator)
| Method Detail |
|---|
public int compare(C o1,
C o2)
compare in interface java.util.Comparator<C>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||