-
-
-
- serialVersionUID:
- 3L
-
Serialized Fields
-
hashCode
int hashCode
Cache the hashCode the first time hashCode() is called to avoid cost of recomputing in
applications that rely on HashSets or HashMaps of Permutations, etc with heavy use of the
hashCode.
-
hashCodeIsCached
boolean hashCodeIsCached
Flag for validating/invalidating cache of hashCode. All methods that change state of
Permutation must invalidate the cache.
-
permutation
int[] permutation
Raw permutation, which should consist of a permutation of the integers in [0,
permutation.length).