Class StackCartesianProductIterator<T>

java.lang.Object
org.aksw.commons.collections.StackCartesianProductIterator<T>
All Implemented Interfaces:
Iterator<List<T>>

public class StackCartesianProductIterator<T> extends Object implements Iterator<List<T>>
Author:
Claus Stadler Date: 7/6/11 Time: 10:46 PM
  • Constructor Details

    • StackCartesianProductIterator

      @SafeVarargs public StackCartesianProductIterator(T[]... collections)
    • StackCartesianProductIterator

      public StackCartesianProductIterator(Iterable<? extends T>... collections)
    • StackCartesianProductIterator

      public StackCartesianProductIterator(List<? extends Iterable<? extends T>> collections)
  • Method Details

    • canPush

      public boolean canPush()
    • push

      public void push()
    • pop

      public void pop()
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public List<T> next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>