org.apache.mahout.fpm.pfpgrowth
Class MultiTransactionTreeIterator

java.lang.Object
  extended by com.google.common.collect.UnmodifiableIterator<T>
      extended by com.google.common.collect.AbstractIterator<org.apache.mahout.math.list.IntArrayList>
          extended by 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


Constructor Summary
MultiTransactionTreeIterator(Iterator<Pair<org.apache.mahout.math.list.IntArrayList,Long>> iterator)
           
 
Method Summary
protected  org.apache.mahout.math.list.IntArrayList computeNext()
           
 
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
 

Constructor Detail

MultiTransactionTreeIterator

public MultiTransactionTreeIterator(Iterator<Pair<org.apache.mahout.math.list.IntArrayList,Long>> iterator)
Method Detail

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.