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) classThis class provides a skeletal implementation of theListIteratorinterface across a fixed number of elements that may be retrieved by position.classThis class provides a skeletal implementation of theIteratorinterface, to make this interface easier to implement for certain types of data sources.classThis class provides a skeletal implementation of theIteratorinterface for sequences whose next element can always be derived from the previous element.private static final classprivate static class(package private) final classAn Iterator implementation which draws elements from a queue, removing them from the queue as it iterates.private static final classprivate static classAn iterator that performs a lazy N-way merge, calculating the next value each time the iterator is polled.private classprivate classprivate final classDeprecated.private final classDeprecated.private final classDeprecated.classA 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 ofunfilteredcontaining all elements that are of the typedesiredType.static <T> UnmodifiableIterator<T>Returns a view ofunfilteredcontaining all elements that satisfy the input predicateretainIfTrue.static <T> UnmodifiableIterator<T>Iterators.forArray(T... array) Returns an iterator containing the elements ofarrayin order.static <T> UnmodifiableIterator<T>Iterators.forEnumeration(Enumeration<T> enumeration) Adapts anEnumerationto theIteratorinterface.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 toUnmodifiableIteratorto 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) classA class to facilitate the set returned byGraph.edges().private static final classIf the graph is directed, each ordered [source, target] pair will be visited once if there is an edge connecting them.private static final classIf 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()