Class MultiBoolean
- java.lang.Object
-
- org.deeplearning4j.datasets.iterator.parallel.MultiBoolean
-
public class MultiBoolean extends Object
-
-
Constructor Summary
Constructors Constructor Description MultiBoolean(int numEntries)MultiBoolean(int numEntries, boolean initialValue)MultiBoolean(int numEntries, boolean initialValue, boolean oneTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallFalse()This method returns true if ALL states are false.booleanallTrue()This method returns true if ALL states are true.booleanget(int entry)Gets current state for specified entryvoidset(boolean value, int entry)Sets specified entry to specified state
-
-
-
Method Detail
-
set
public void set(boolean value, int entry)Sets specified entry to specified state- Parameters:
value-entry-
-
get
public boolean get(int entry)
Gets current state for specified entry- Parameters:
entry-- Returns:
-
allTrue
public boolean allTrue()
This method returns true if ALL states are true. False otherwise.- Returns:
-
allFalse
public boolean allFalse()
This method returns true if ALL states are false. False otherwise- Returns:
-
-