The iterator will return exactly n! permutations of the input collection. The {@code remove()} operation is not supported, and will throw an{@code UnsupportedOperationException}.
NOTE: in case an empty collection is provided, the iterator will return exactly one empty list as result, as 0! = 1. @param < E> the type of the objects being permuted @version $Id: PermutationIterator.java 1477802 2013-04-30 20:01:28Z tn $ @since 4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|