|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenlr.map.utils.IteratorHelper
public final class IteratorHelper
The IteratorHelper provides helper methods for iterators.
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Method Summary | ||
|---|---|---|
static
|
contains(Iterator<? extends E> iter,
E item)
Checks if an element item is contained in the iterator sequence. |
|
static
|
size(Iterator<E> iter)
Returns the number of elements in the iterator sequence. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <E> boolean contains(Iterator<? extends E> iter,
E item)
E - the element typeiter - the iteratoritem - the item
public static <E> int size(Iterator<E> iter)
E - the element typeiter - the iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||