|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jga.algorithms.Compare.IteratorComparator<T>
public static class Compare.IteratorComparator<T>
Constructor Summary | |
---|---|
Compare.IteratorComparator(java.util.Comparator<? super T> comp)
Builds an IteratorComparator that uses the given Comparator to compare the elements of an iteration. |
Method Summary | |
---|---|
int |
compare(java.util.Iterator<? extends T> i1,
java.util.Iterator<? extends T> i2)
|
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 Compare.IteratorComparator(java.util.Comparator<? super T> comp)
Method Detail |
---|
public int compare(java.util.Iterator<? extends T> i1, java.util.Iterator<? extends T> i2)
compare
in interface java.util.Comparator<java.util.Iterator<? extends T>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |