Uses of Class
com.google.common.collect.UnmodifiableIterator

Uses of UnmodifiableIterator in com.google.common.collect
 

Subclasses of UnmodifiableIterator in com.google.common.collect
 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.
 

Methods in com.google.common.collect that return UnmodifiableIterator
static
<T> UnmodifiableIterator<T>
Iterators.emptyIterator()
          Returns the empty iterator.
static
<T> UnmodifiableIterator<T>
Iterators.filter(java.util.Iterator<?> unfiltered, java.lang.Class<T> type)
          Returns all instances of class type in unfiltered.
static
<T> UnmodifiableIterator<T>
Iterators.filter(java.util.Iterator<T> unfiltered, Predicate<? super T> predicate)
          Returns the elements of unfiltered that satisfy a predicate.
static
<T> UnmodifiableIterator<T>
Iterators.forArray(T... array)
          Returns an iterator containing the elements of array in order.
static
<T> UnmodifiableIterator<T>
Iterators.forEnumeration(java.util.Enumeration<T> enumeration)
          Adapts an Enumeration to the Iterator interface.
abstract  UnmodifiableIterator<E> ImmutableSet.iterator()
           
 UnmodifiableIterator<E> ImmutableMultiset.iterator()
           
abstract  UnmodifiableIterator<E> ImmutableList.iterator()
           
abstract  UnmodifiableIterator<E> ImmutableCollection.iterator()
          Returns an unmodifiable iterator across the elements in this collection.
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(T value)
          Returns an iterator containing only value.
static
<T> UnmodifiableIterator<T>
Iterators.unmodifiableIterator(java.util.Iterator<T> iterator)
          Returns an unmodifiable view of iterator.
 



Copyright © 2010 Google. All Rights Reserved.