Top-level
Types
Finite in-memory integer permutation backed by an IntArray lookup table.
Finite in-memory long permutation backed by a LongArray lookup table.
Full 32-bit integer permutation over the entire signed Int domain.
Full 64-bit integer permutation over the entire signed Long domain.
Finite integer permutation using cycle-walking over a 2^k-sized block.
Finite long permutation using cycle-walking over a 2^k-sized block.
Reversible permutation over a 32-bit integer domain.
Reversible permutation over a 64-bit integer domain.
Finite permutation over an unsigned 32-bit-style domain encoded as Int.
Finite permutation over an unsigned 64-bit-style domain encoded as Long.
Functions
Creates an IntPermutation using a seed-based Random instance.
Creates an IntPermutation for a contiguous integer domain.
Creates an IntPermutation for the given inclusive range using a seed-based Random instance.
Creates an IntPermutation for values within the given inclusive range.
Creates a LongPermutation using a seed-based Random instance.
Creates a LongPermutation for a contiguous long domain.
Creates a LongPermutation for the given inclusive range using a seed-based Random instance.
Creates a LongPermutation for values within the given inclusive range.
Returns a view of this permutation that operates on range instead of [0, size). Only valid for finite domains where range.count() == size.
Applies the inverse of perm as a view, restoring the original order.