V - The value typeinterface ValueHolder<V>
extends java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
add(V newValue)
Add a new value in the ValueHolder
|
ValueHolder<V> |
clone()
Create a clone of this instance
|
boolean |
contains(V checkedValue)
Tells if a value is contained in this ValueHolder
|
ValueCursor<V> |
getCursor() |
boolean |
isSubBtree() |
V |
remove(V removedValue)
Remove a value from the ValueHolder
|
V |
replaceValueArray(V newValue)
Replaces the single value present in the array.
|
int |
size() |
boolean contains(V checkedValue)
checkedValue - The added to checkint size()
ValueCursor<V> getCursor()
boolean isSubBtree()
void add(V newValue)
newValue - The added valueV remove(V removedValue)
removedValue - The value to removeV replaceValueArray(V newValue)
newValue - the new valueValueHolder<V> clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - If we can't clone this instance