Uses of Class
org.docx4j.com.google.common.collect.UnmodifiableIterator
| Package | Description |
|---|---|
| org.docx4j.com.google.common.collect |
-
Uses of UnmodifiableIterator in org.docx4j.com.google.common.collect
Subclasses of UnmodifiableIterator in org.docx4j.com.google.common.collect Modifier and Type Class Description classAbstractSequentialIterator<T>This class provides a skeletal implementation of theIteratorinterface for sequences whose next element can always be derived from the previous element.classUnmodifiableListIterator<E>A list iterator that does not supportremove(),UnmodifiableListIterator.add(E), orUnmodifiableListIterator.set(E).Methods in org.docx4j.com.google.common.collect that return UnmodifiableIterator Modifier and Type Method Description static <T> UnmodifiableIterator<T>Iterators. forArray(T... array)Returns an iterator containing the elements ofarrayin order.static <T> UnmodifiableIterator<T>Iterators. forEnumeration(java.util.Enumeration<T> enumeration)Adapts anEnumerationto theIteratorinterface.abstract UnmodifiableIterator<E>ImmutableCollection. iterator()Returns an unmodifiable iterator across the elements in this collection.abstract UnmodifiableIterator<E>ImmutableSet. iterator()abstract UnmodifiableIterator<E>Sets.SetView. iterator()Scope the return type toUnmodifiableIteratorto ensure this is an unmodifiable view.static <T> UnmodifiableIterator<java.util.List<T>>Iterators. paddedPartition(java.util.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<java.util.List<T>>Iterators. partition(java.util.Iterator<T> iterator, int size)Divides an iterator into unmodifiable sublists of the given size (the final list may be smaller).static <T> UnmodifiableIterator<T>Iterators. singletonIterator(@Nullable T value)Returns an iterator containing onlyvalue.static <T> UnmodifiableIterator<T>Iterators. unmodifiableIterator(java.util.Iterator<? extends T> iterator)Returns an unmodifiable view ofiterator.static <T> UnmodifiableIterator<T>Iterators. unmodifiableIterator(UnmodifiableIterator<T> iterator)Deprecated.no need to use thisMethods in org.docx4j.com.google.common.collect with parameters of type UnmodifiableIterator Modifier and Type Method Description static <T> UnmodifiableIterator<T>Iterators. unmodifiableIterator(UnmodifiableIterator<T> iterator)Deprecated.no need to use this