public class DataReuseEngine.BooleanBag extends java.lang.Object implements Bag
| Modifier and Type | Field and Description |
|---|---|
private boolean |
mBoolean
The boolean value
|
| Constructor and Description |
|---|
BooleanBag()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(boolean b)
Adds a boolean value to the bag
|
boolean |
add(java.lang.Object key,
java.lang.Object value)
Ignores the key and only adds the value .
|
boolean |
containsKey(java.lang.Object key)
Returns false.
|
java.lang.Object |
get(java.lang.Object key)
For all keys returns the boolean value
|
boolean |
getBooleanValue()
Returns the boolean value
|
public boolean getBooleanValue()
public java.lang.Object get(java.lang.Object key)
public boolean add(java.lang.Object key,
java.lang.Object value)
public boolean containsKey(java.lang.Object key)
containsKey in interface Bagkey - public void add(boolean b)
b - the boolean value