Package jsl.utilities.random.rng
Interface RandomStreamManagerIfc
-
- All Superinterfaces:
RNStreamControlIfc
- All Known Implementing Classes:
RNGStreamManager
public interface RandomStreamManagerIfc extends RNStreamControlIfc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(RNStreamIfc o)Checks if the manager contains the supplied streamRNStreamControlIfcget(int index)Gets the stream at the supplied indexintindexOf(RNStreamIfc o)Returns the index of the streambooleanisEmpty()Checks if the manager is empty (has no streams)intsize()Returns the number of streams being managed-
Methods inherited from interface jsl.utilities.random.rng.RNStreamControlIfc
advanceToNextSubstream, getAntitheticOption, resetStartStream, resetStartSubstream, setAntitheticOption
-
-
-
-
Method Detail
-
size
int size()
Returns the number of streams being managed- Returns:
-
isEmpty
boolean isEmpty()
Checks if the manager is empty (has no streams)- Returns:
-
indexOf
int indexOf(RNStreamIfc o)
Returns the index of the stream- Parameters:
o-- Returns:
-
get
RNStreamControlIfc get(int index)
Gets the stream at the supplied index- Parameters:
index-- Returns:
-
contains
boolean contains(RNStreamIfc o)
Checks if the manager contains the supplied stream- Parameters:
o-- Returns:
-
-