Skip to content

Commit

Permalink
Clarify that ShuffleOrder must be consistent in both directions
Browse files Browse the repository at this point in the history
#minor-release

PiperOrigin-RevId: 453622964
  • Loading branch information
icbaker authored and marcbaechinger committed Jun 9, 2022
1 parent 21ad8cf commit 2c2be2d
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -23,6 +23,9 @@
* Shuffled order of indices.
*
* <p>The shuffle order must be immutable to ensure thread safety.
*
* <p>The order must be consistent when traversed both {@linkplain #getNextIndex(int) forwards} and
* {@linkplain #getPreviousIndex(int) backwards}.
*/
public interface ShuffleOrder {

Expand Down

0 comments on commit 2c2be2d

Please sign in to comment.