org.apache.mahout.fpm.pfpgrowth
Class MultiTransactionTreeIterator
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<org.apache.mahout.math.list.IntArrayList>
org.apache.mahout.fpm.pfpgrowth.MultiTransactionTreeIterator
- All Implemented Interfaces:
- Iterator<org.apache.mahout.math.list.IntArrayList>
public final class MultiTransactionTreeIterator
- extends com.google.common.collect.AbstractIterator<org.apache.mahout.math.list.IntArrayList>
Iterates over multiple transaction trees to produce a single iterator of transactions
Methods inherited from class com.google.common.collect.AbstractIterator |
endOfData, hasNext, next, peek |
Methods inherited from class com.google.common.collect.UnmodifiableIterator |
remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiTransactionTreeIterator
public MultiTransactionTreeIterator(Iterator<Pair<org.apache.mahout.math.list.IntArrayList,Long>> iterator)
computeNext
protected org.apache.mahout.math.list.IntArrayList computeNext()
- Specified by:
computeNext
in class com.google.common.collect.AbstractIterator<org.apache.mahout.math.list.IntArrayList>
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.