Class BoundedSubsetIterator

java.lang.Object
org.graph4j.util.BoundedSubsetIterator
All Implemented Interfaces:
Iterator<int[]>

public class BoundedSubsetIterator extends Object implements Iterator<int[]>
  • Constructor Details

    • BoundedSubsetIterator

      public BoundedSubsetIterator(int[] elements, int minSize)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<int[]>
    • next

      public int[] next()
      Specified by:
      next in interface Iterator<int[]>
    • main

      public static void main(String[] args)