Uses of Class
com.google.common.collect.UnmodifiableIterator
Packages that use UnmodifiableIterator
Package
Description
Collection interfaces and implementations, and other utilities for collections.
An API for representing graph (node and edge) data.
-
Uses of UnmodifiableIterator in com.google.common.collect
Subclasses of UnmodifiableIterator in com.google.common.collectModifier and TypeClassDescription(package private) class
This class provides a skeletal implementation of theListIterator
interface across a fixed number of elements that may be retrieved by position.class
This class provides a skeletal implementation of theIterator
interface, to make this interface easier to implement for certain types of data sources.class
This class provides a skeletal implementation of theIterator
interface for sequences whose next element can always be derived from the previous element.private static final class
private static class
(package private) final class
An Iterator implementation which draws elements from a queue, removing them from the queue as it iterates.private static final class
private static class
An iterator that performs a lazy N-way merge, calculating the next value each time the iterator is polled.private static final class
private class
private class
private final class
Deprecated.private final class
Deprecated.private final class
Deprecated.class
A list iterator that does not supportremove()
,UnmodifiableListIterator.add(E)
, orUnmodifiableListIterator.set(E)
.Methods in com.google.common.collect that return UnmodifiableIteratorModifier and TypeMethodDescription(package private) final UnmodifiableIterator
<Table.Cell<R, C, V>> ImmutableTable.cellIterator()
DescendingImmutableSortedSet.descendingIterator()
EmptyContiguousSet.descendingIterator()
ImmutableRangeSet.AsSet.descendingIterator()
abstract UnmodifiableIterator
<E> ImmutableSortedSet.descendingIterator()
RegularContiguousSet.descendingIterator()
RegularImmutableSortedSet.descendingIterator()
(package private) static <T> UnmodifiableIterator
<T> Iterators.emptyIterator()
Returns the empty iterator.(package private) UnmodifiableIterator
<Map.Entry<K, V>> DenseImmutableTable.ImmutableArrayMap.entryIterator()
(package private) UnmodifiableIterator
<Map.Entry<K, V>> ImmutableEnumMap.entryIterator()
(package private) abstract UnmodifiableIterator
<Map.Entry<K, V>> ImmutableMap.IteratorBasedImmutableMap.entryIterator()
(package private) UnmodifiableIterator
<Map.Entry<K, ImmutableSet<V>>> ImmutableMap.MapViewOfValuesAsSingletonSets.entryIterator()
(package private) UnmodifiableIterator
<Map.Entry<K, V>> ImmutableMultimap.entryIterator()
static <T> UnmodifiableIterator
<T> Returns a view ofunfiltered
containing all elements that are of the typedesiredType
.static <T> UnmodifiableIterator
<T> Returns a view ofunfiltered
containing all elements that satisfy the input predicateretainIfTrue
.static <T> UnmodifiableIterator
<T> Iterators.forArray
(T... array) Returns an iterator containing the elements ofarray
in order.static <T> UnmodifiableIterator
<T> Iterators.forEnumeration
(Enumeration<T> enumeration) Adapts anEnumeration
to theIterator
interface.DescendingImmutableSortedSet.iterator()
EmptyContiguousSet.iterator()
abstract UnmodifiableIterator
<E> ImmutableCollection.iterator()
Returns an unmodifiable iterator across the elements in this collection.ImmutableEnumSet.iterator()
ImmutableList.iterator()
ImmutableMapEntrySet.RegularEntrySet.iterator()
ImmutableMapKeySet.iterator()
ImmutableMapValues.iterator()
ImmutableMultimap.EntryCollection.iterator()
ImmutableMultimap.Values.iterator()
ImmutableMultiset.iterator()
ImmutableRangeSet.AsSet.iterator()
ImmutableSet.Indexed.iterator()
abstract UnmodifiableIterator
<E> ImmutableSet.iterator()
ImmutableSetMultimap.EntrySet.iterator()
abstract UnmodifiableIterator
<E> ImmutableSortedSet.iterator()
IndexedImmutableSet.iterator()
Multisets.FilteredMultiset.iterator()
RegularContiguousSet.iterator()
RegularImmutableBiMap.Inverse.InverseEntrySet.iterator()
RegularImmutableSet.iterator()
RegularImmutableSortedSet.iterator()
abstract UnmodifiableIterator
<E> Sets.SetView.iterator()
Scope the return type toUnmodifiableIterator
to ensure this is an unmodifiable view.SingletonImmutableList.iterator()
SingletonImmutableSet.iterator()
(package private) UnmodifiableIterator
<K> ImmutableEnumMap.keyIterator()
(package private) UnmodifiableIterator
<K> ImmutableMap.keyIterator()
static <T> UnmodifiableIterator
<T> Iterators.mergeSorted
(Iterable<? extends Iterator<? extends T>> iterators, Comparator<? super T> comparator) Returns an iterator over the merged contents of all giveniterators
, traversing every element of the input iterators.static <T> UnmodifiableIterator
<List<T>> 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 <T> UnmodifiableIterator
<List<T>> Divides an iterator into unmodifiable sublists of the given size (the final list may be smaller).private static <T> UnmodifiableIterator
<List<T>> Iterators.partitionImpl
(Iterator<T> iterator, int size, boolean pad) (package private) UnmodifiableIterator
<T> TreeTraverser.postOrderIterator
(T root) Deprecated.(package private) UnmodifiableIterator
<T> TreeTraverser.preOrderIterator
(T root) Deprecated.static <T> UnmodifiableIterator
<T> Iterators.singletonIterator
(T value) Returns an iterator containing onlyvalue
.(package private) static <K,
V> UnmodifiableIterator <Map.Entry<K, V>> Maps.unmodifiableEntryIterator
(Iterator<Map.Entry<K, V>> entryIterator) static <T> UnmodifiableIterator
<T> Iterators.unmodifiableIterator
(UnmodifiableIterator<T> iterator) Deprecated.no need to use thisstatic <T> UnmodifiableIterator
<T> Iterators.unmodifiableIterator
(Iterator<? extends T> iterator) Returns an unmodifiable view ofiterator
.(package private) UnmodifiableIterator
<V> ImmutableMultimap.valueIterator()
Methods in com.google.common.collect with parameters of type UnmodifiableIteratorModifier and TypeMethodDescriptionstatic <T> UnmodifiableIterator
<T> Iterators.unmodifiableIterator
(UnmodifiableIterator<T> iterator) Deprecated.no need to use this -
Uses of UnmodifiableIterator in com.google.common.graph
Subclasses of UnmodifiableIterator in com.google.common.graphModifier and TypeClassDescription(package private) class
A class to facilitate the set returned byGraph.edges()
.private static final class
If the graph is directed, each ordered [source, target] pair will be visited once if there is an edge connecting them.private static final class
If the graph is undirected, each unordered [node, otherNode] pair (except self-loops) will be visited twice if there is an edge connecting them.Methods in com.google.common.graph that return UnmodifiableIteratorModifier and TypeMethodDescriptionEdgesConnecting.iterator()
final UnmodifiableIterator
<N> EndpointPair.iterator()
Iterates in the orderEndpointPair.nodeU()
,EndpointPair.nodeV()
.MultiEdgesConnecting.iterator()