org.apache.mahout.fpm.pfpgrowth
Class MultiTransactionTreeIterator
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<List<Integer>>
org.apache.mahout.fpm.pfpgrowth.MultiTransactionTreeIterator
- All Implemented Interfaces:
- Iterator<List<Integer>>
public final class MultiTransactionTreeIterator
- extends com.google.common.collect.AbstractIterator<List<Integer>>
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<List<Integer>,Long>> iterator)
computeNext
protected List<Integer> computeNext()
- Specified by:
computeNext
in class com.google.common.collect.AbstractIterator<List<Integer>>
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.