V
- The value typepublic class ValueHolder<V> extends Object implements 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)
Check that a value exists in the ValueHolder
|
ValueCursor<V> |
getCursor() |
boolean |
isSubBtree() |
V |
remove(V removedValue)
Remove a value from the ValueHolder
|
int |
size() |
String |
toString() |
public ValueCursor<V> getCursor()
public boolean isSubBtree()
public int size()
public void add(V newValue)
newValue
- The added valuepublic V remove(V removedValue)
removedValue
- The value to removepublic boolean contains(V checkedValue)
checkedValue
- The value to checkpublic ValueHolder<V> clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String toString()
toString
in class Object
Object.toString()
Copyright © 2012-2013 Apache Mavibot Project Parent. All Rights Reserved.