org.apache.mahout.fpm.pfpgrowth
Class MultiTransactionTreeIterator

java.lang.Object
  extended by org.apache.mahout.fpm.pfpgrowth.MultiTransactionTreeIterator
All Implemented Interfaces:
java.util.Iterator<java.util.List<java.lang.Integer>>

public final class MultiTransactionTreeIterator
extends java.lang.Object
implements java.util.Iterator<java.util.List<java.lang.Integer>>

Iterates over multiple transaction trees to produce a single iterator of transactions


Constructor Summary
MultiTransactionTreeIterator(java.util.Iterator<Pair<java.util.List<java.lang.Integer>,java.lang.Long>> iterator)
           
 
Method Summary
 boolean hasNext()
           
 java.util.List<java.lang.Integer> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTransactionTreeIterator

public MultiTransactionTreeIterator(java.util.Iterator<Pair<java.util.List<java.lang.Integer>,java.lang.Long>> iterator)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<java.util.List<java.lang.Integer>>

next

public java.util.List<java.lang.Integer> next()
Specified by:
next in interface java.util.Iterator<java.util.List<java.lang.Integer>>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<java.util.List<java.lang.Integer>>


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.