|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UnmodifiableIterator | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of UnmodifiableIterator in com.google.common.collect |
---|
Subclasses of UnmodifiableIterator in com.google.common.collect | |
---|---|
class |
AbstractIterator<T>
This class provides a skeletal implementation of the Iterator
interface, to make this interface easier to implement for certain types of
data sources. |
class |
AbstractLinkedIterator<T>
This class provides a skeletal implementation of the Iterator
interface for sequences whose next element can always be derived from the
previous element. |
class |
UnmodifiableListIterator<E>
A list iterator that does not support remove() , UnmodifiableListIterator.add(E) , or
UnmodifiableListIterator.set(E) . |
Methods in com.google.common.collect that return UnmodifiableIterator | ||
---|---|---|
static
|
Iterators.emptyIterator()
Returns the empty iterator. |
|
static
|
Iterators.filter(Iterator<?> unfiltered,
Class<T> type)
Returns all instances of class type in unfiltered . |
|
static
|
Iterators.filter(Iterator<T> unfiltered,
Predicate<? super T> predicate)
Returns the elements of unfiltered that satisfy a predicate. |
|
static
|
Iterators.forArray(T... array)
Returns an iterator containing the elements of array in order. |
|
static
|
Iterators.forEnumeration(Enumeration<T> enumeration)
Adapts an Enumeration to the Iterator interface. |
|
abstract UnmodifiableIterator<E> |
ImmutableSortedSet.iterator()
|
|
UnmodifiableIterator<E> |
ImmutableMultiset.iterator()
|
|
abstract UnmodifiableIterator<E> |
ImmutableSet.iterator()
|
|
abstract UnmodifiableIterator<E> |
ImmutableCollection.iterator()
Returns an unmodifiable iterator across the elements in this collection. |
|
UnmodifiableIterator<E> |
ImmutableList.iterator()
|
|
static
|
Iterators.paddedPartition(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
|
Iterators.partition(Iterator<T> iterator,
int size)
Divides an iterator into unmodifiable sublists of the given size (the final list may be smaller). |
|
static
|
Iterators.singletonIterator(T value)
Returns an iterator containing only value . |
|
static
|
Iterators.unmodifiableIterator(Iterator<T> iterator)
Returns an unmodifiable view of iterator . |
|
static
|
Iterators.unmodifiableIterator(UnmodifiableIterator<T> iterator)
Deprecated. no need to use this |
Methods in com.google.common.collect with parameters of type UnmodifiableIterator | ||
---|---|---|
static
|
Iterators.unmodifiableIterator(UnmodifiableIterator<T> iterator)
Deprecated. no need to use this |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |