|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SequenceElementComparator<E>
A strategy for comparing elements of a sequence.
| Method Summary | |
|---|---|
boolean |
predecessor(E o1,
E o2)
Returns true if o1 is an immediate predecessor
of o2. |
boolean |
successor(E o1,
E o2)
Returns true if o1 is an immediate successor
of o2. |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Method Detail |
|---|
boolean predecessor(E o1,
E o2)
true if o1 is an immediate predecessor
of o2.
o1 - a sequence element.o2 - a sequence element.
boolean successor(E o1,
E o2)
true if o1 is an immediate successor
of o2.
o1 - a sequence element.o2 - a sequence element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||