Uses of Class
org.glassfish.jersey.internal.guava.UnmodifiableIterator
-
Uses of UnmodifiableIterator in org.glassfish.jersey.internal.guava
Modifier and TypeClassDescriptionclass
This class provides a skeletal implementation of theIterator
interface, to make this interface easier to implement for certain types of data sources.class
A list iterator that does not supportremove()
,UnmodifiableListIterator.add(E)
, orUnmodifiableListIterator.set(E)
.Modifier and TypeMethodDescriptionstatic <T> UnmodifiableIterator<T>
Iterators.emptyIterator()
Deprecated.static <T> UnmodifiableIterator<T>
Iterators.forArray
(T... array) Returns an iterator containing the elements ofarray
in order.static <T> UnmodifiableIterator<T>
Iterators.singletonIterator
(T value) Returns an iterator containing onlyvalue
.static <T> UnmodifiableIterator<T>
Iterators.unmodifiableIterator
(Iterator<T> iterator) Returns an unmodifiable view ofiterator
.
ImmutableSet.<T>of().iterator()
instead; or for Java 7 or later,Collections.emptyIterator()
.