J - type found in Iteratorspublic class PeekableIteratorComparator<J> extends Object implements Comparator<IPeekableIterator<J>>
| Constructor and Description |
|---|
PeekableIteratorComparator(Comparator<J> comparator) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IPeekableIterator<J> o1,
IPeekableIterator<J> o2) |
static <K> Comparator<IPeekableIterator<K>> |
getComparator(Comparator<K> comparator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic PeekableIteratorComparator(Comparator<J> comparator)
comparator - to compare the iteratorspublic int compare(IPeekableIterator<J> o1, IPeekableIterator<J> o2)
compare in interface Comparator<IPeekableIterator<J>>public static <K> Comparator<IPeekableIterator<K>> getComparator(Comparator<K> comparator)
Copyright © 2005–2015 IIPC. All rights reserved.