org.apache.mahout.common.iterator
Class CopyConstructorIterator<T>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingIterator<T>
org.apache.mahout.common.iterator.CopyConstructorIterator<T>
- All Implemented Interfaces:
- Iterator<T>
public final class CopyConstructorIterator<T>
- extends com.google.common.collect.ForwardingIterator<T>
An iterator that copies the values in an underlying iterator by finding an appropriate copy constructor.
Methods inherited from class com.google.common.collect.ForwardingIterator |
hasNext, next, remove |
Methods inherited from class com.google.common.collect.ForwardingObject |
toString |
CopyConstructorIterator
public CopyConstructorIterator(Iterator<? extends T> copyFrom)
delegate
protected Iterator<T> delegate()
- Overrides:
delegate
in class com.google.common.collect.ForwardingIterator<T>
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.