Synthia
Generic and flexible data structure generator
Package ca.uqac.lif.synthia.util

Miscellaneous pickers performing various functions. More...

Classes

class  ArrayPicker
 Picker that merges the result of other pickers into an array. More...
 
class  AsInt
 Utility picker that converts an input into an integer. More...
 
class  AsLong
 Utility picker that converts an input into a long integer. More...
 
class  Choice
 Picks an element from a collection, where the probability of picking each element can be user-defined. More...
 
class  Constant
 Picker that returns the same object every time. More...
 
class  Delay
 Picker that does not produce any value, but causes the thread to wait for a moment on every call to pick(). More...
 
class  DiscardRatio
 A utility picker to calculate the discard ratio of a PickIf picker. More...
 
class  Freeze
 Picker that returns the first object fetched from another picker and repeats it endlessly. More...
 
class  Mutate
 Transforms an object from a picker by selecting a mutator and applying it to an object. More...
 
class  Mutator
 A picker that applies a transformation ("mutation") on the value produced by another picker. More...
 
class  NothingPicker
 A RelativePicker that only throws a NoMoreElementException when the pick() method is called. More...
 
class  Offset
 Takes the numerical value of a picker, and offsets it by an amount determined by another picker. More...
 
class  Once
 Picker that returns the first value fetched from another picker, and then null afterwards. More...
 
class  Replace
 
class  Share
 Allows values of a single picker to be shared among multiple copies of a picker instance. More...
 
class  Tick
 Generates a sequence of monotonically increasing numerical values. More...
 

Detailed Description

Miscellaneous pickers performing various functions.