public static class LockFreePrefixTree.Node extends AtomicLong
Modifier and Type | Method and Description |
---|---|
LockFreePrefixTree.Node |
at(long childKey)
Get existing (or create if missing) child with the given key.
|
long |
incValue()
Increment value.
|
void |
setValue(long value)
Set the value for the
LockFreePrefixTree.Node . |
String |
toString() |
long |
value() |
accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
byteValue, shortValue
public long value()
LockFreePrefixTree.Node
public void setValue(long value)
LockFreePrefixTree.Node
.value
- the new value.public long incValue()
LockFreePrefixTree.Node
.public LockFreePrefixTree.Node at(long childKey)
childKey
- the key of the child.public String toString()
toString
in class AtomicLong