Class NormalizeUtils.Permutator

java.lang.Object
com.github.jsonldjava.core.NormalizeUtils.Permutator
Enclosing class:
NormalizeUtils

private static class NormalizeUtils.Permutator extends Object
  • Field Details

  • Constructor Details

    • Permutator

      public Permutator(List<String> list)
  • Method Details

    • hasNext

      public boolean hasNext()
      Returns true if there is another permutation.
      Returns:
      true if there is another permutation, false if not.
    • next

      public List<String> next()
      Gets the next permutation. Call hasNext() to ensure there is another one first.
      Returns:
      the next permutation.