Package com.github.jsonldjava.core
Class NormalizeUtils.Permutator
- java.lang.Object
-
- com.github.jsonldjava.core.NormalizeUtils.Permutator
-
- Enclosing class:
- NormalizeUtils
private static class NormalizeUtils.Permutator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Permutator(java.util.List<java.lang.String> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Returns true if there is another permutation.java.util.List<java.lang.String>
next()
Gets the next permutation.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns true if there is another permutation.- Returns:
- true if there is another permutation, false if not.
-
next
public java.util.List<java.lang.String> next()
Gets the next permutation. Call hasNext() to ensure there is another one first.- Returns:
- the next permutation.
-
-