Package org.javarosa.xform.parse
Class RandomizeHelper
java.lang.Object
org.javarosa.xform.parse.RandomizeHelper
public final class RandomizeHelper extends Object
This class contains all the code needed to implement the xform randomize()
function.
-
Constructor Summary
Constructors Constructor Description RandomizeHelper() -
Method Summary
-
Constructor Details
-
RandomizeHelper
public RandomizeHelper()
-
-
Method Details
-
shuffle
This method will return a new list with the same elements, randomly reordered. Every call to this method will produce a different random seed, which will potentially produce a different ordering each time. -
shuffle
This method will return a new list with the same elements, randomly reordered. Given the same seed, calls to this method will produce exactly the same output.
-