Package | Description |
---|---|
org.glassfish.jersey.internal.guava |
Modifier and Type | Class and Description |
---|---|
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 |
UnmodifiableListIterator<E>
A list iterator that does not support
remove() , UnmodifiableListIterator.add(E) , or
UnmodifiableListIterator.set(E) . |
Modifier and Type | Method and Description |
---|---|
static <T> UnmodifiableIterator<T> |
Iterators.emptyIterator()
Deprecated.
Use
ImmutableSet.<T>of().iterator() instead; or for
Java 7 or later, Collections.emptyIterator() . This method is
scheduled for removal in May 2016. |
static <T> UnmodifiableIterator<T> |
Iterators.forArray(T... array)
Returns an iterator containing the elements of
array in order. |
static <T> UnmodifiableIterator<T> |
Iterators.singletonIterator(T value)
Returns an iterator containing only
value . |
static <T> UnmodifiableIterator<T> |
Iterators.unmodifiableIterator(Iterator<T> iterator)
Returns an unmodifiable view of
iterator . |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.