 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file. 1 package ca.uqac.lif.synthia.enumerative;
Boolean pick()
Picks an object.
AllIntegers duplicate(boolean with_state)
Creates a copy of the picker.
Picker who implements EnumerativePicker.
Picker who implements EnumerativePicker.
void reset()
Puts the picker back into its initial state.
AllBooleans(boolean scramble)
Constructor taking a parameter for the scramble flag.
void reset()
Puts the picker back into its initial state.
Interface used to signal that a picker enumerates all values from a set.
AllIntegers m_picker
Internal picker used to generate the objects generated by the AllBooleans picker.
Integer pick()
Picks an object.
boolean isDone()
Signals if the AllBooleans picker picked all the objects from m_picker.
An exception to throw when a picker can't pick an other element.
AllBooleans()
Default constructor using the false default value of the AllIntegers scramble flag.
boolean isDone()
Signals if the picker enumerates all values from a set.
AllBooleans duplicate(boolean with_state)
Creates a copy of the picker.