public class DataReuseEngine.BooleanBag extends 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(Object key,
Object value)
Ignores the key and only adds the value .
|
boolean |
containsKey(Object key)
Returns false.
|
Object |
get(Object key)
For all keys returns the boolean value
|
boolean |
getBooleanValue()
Returns the boolean value
|
public boolean getBooleanValue()
public boolean add(Object key, Object value)
public boolean containsKey(Object key)
containsKey
in interface Bag
key
- public void add(boolean b)
b
- the boolean value