abstract UnmodifiableIterator<E> |
ImmutableSortedSet.descendingIterator() |
|
static <T> UnmodifiableIterator<T> |
Iterators.filter(java.util.Iterator<?> unfiltered,
java.lang.Class<T> desiredType) |
Returns a view of unfiltered containing all elements that are of the type
desiredType .
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<T> |
Iterators.filter(java.util.Iterator<T> unfiltered,
Predicate<? super T> retainIfTrue) |
Returns a view of unfiltered containing all elements that satisfy the input predicate
retainIfTrue .
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<T> |
Iterators.forArray(T... array) |
Returns an iterator containing the elements of array in order.
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<T> |
Iterators.forEnumeration(java.util.Enumeration<T> enumeration) |
Adapts an Enumeration to the Iterator interface.
|
abstract UnmodifiableIterator<E> |
ImmutableCollection.iterator() |
Returns an unmodifiable iterator across the elements in this collection.
|
UnmodifiableIterator<E> |
ImmutableList.iterator() |
|
UnmodifiableIterator<E> |
ImmutableMultiset.iterator() |
|
abstract UnmodifiableIterator<E> |
ImmutableSet.iterator() |
|
abstract UnmodifiableIterator<E> |
ImmutableSortedSet.iterator() |
|
abstract UnmodifiableIterator<E> |
Sets.SetView.iterator() |
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<T> |
Iterators.mergeSorted(java.lang.Iterable<? extends java.util.Iterator<? extends T>> iterators,
java.util.Comparator<? super T> comparator) |
Returns an iterator over the merged contents of all given iterators , traversing every
element of the input iterators.
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<java.util.List<@Nullable T>> |
Iterators.paddedPartition(java.util.Iterator<T> iterator,
int size) |
Divides an iterator into unmodifiable sublists of the given size, padding the final iterator
with null values if necessary.
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<java.util.List<T>> |
Iterators.partition(java.util.Iterator<T> iterator,
int size) |
Divides an iterator into unmodifiable sublists of the given size (the final list may be
smaller).
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<T> |
Iterators.singletonIterator(T value) |
Returns an iterator containing only value .
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<T> |
Iterators.unmodifiableIterator(UnmodifiableIterator<T> iterator) |
Deprecated.
|
static <T extends @Nullable java.lang.Object> UnmodifiableIterator<T> |
Iterators.unmodifiableIterator(java.util.Iterator<? extends T> iterator) |
Returns an unmodifiable view of iterator .
|