Package jsl.utilities.random.robj
Interface RElementIfc<T>
-
- All Superinterfaces:
GetRandomNumberStreamIfc
,RNStreamControlIfc
,SetRandomNumberStreamIfc
- All Known Subinterfaces:
RListIfc<T>
- All Known Implementing Classes:
DEmpiricalList
,DUniformList
,RandomList
,RList
public interface RElementIfc<T> extends RNStreamControlIfc, SetRandomNumberStreamIfc, GetRandomNumberStreamIfc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getRandomElement()
Returns an element randomly selected from the list-
Methods inherited from interface jsl.utilities.random.rng.GetRandomNumberStreamIfc
getRandomNumberStream, getStreamNumber
-
Methods inherited from interface jsl.utilities.random.rng.RNStreamControlIfc
advanceToNextSubstream, getAntitheticOption, resetStartStream, resetStartSubstream, setAntitheticOption
-
Methods inherited from interface jsl.utilities.random.rng.SetRandomNumberStreamIfc
setRandomNumberStream, setRandomNumberStream
-
-
-
-
Method Detail
-
getRandomElement
T getRandomElement()
Returns an element randomly selected from the list- Returns:
- a randomly selected element from the list
-
-