Click or drag to resize
Knuth Methods

The Knuth type exposes the following members.

Methods
  NameDescription
Public methodStatic memberMainTest
Reads in a sequence of strings from standard input, shuffles them, and prints out the results.
Public methodStatic memberShuffle
Rearranges an array of objects in uniformly random order (under the assumption that Math.random() generates independent and uniformly distributed numbers between 0 and 1).
Top
See Also