public final class MonotonicAppendingLongBuffer extends Object
Modifier and Type | Class and Description |
---|---|
class |
MonotonicAppendingLongBuffer.Iterator
A long iterator.
|
Constructor and Description |
---|
MonotonicAppendingLongBuffer()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(long l)
Append a value to this buffer.
|
long |
get(long index)
Get a value from this buffer.
|
MonotonicAppendingLongBuffer.Iterator |
iterator()
Return an iterator over the values of this buffer.
|
long |
ramBytesUsed()
Return the number of bytes used by this instance.
|
long |
size()
Get the number of values that have been added to the buffer.
|
public MonotonicAppendingLongBuffer()
public MonotonicAppendingLongBuffer.Iterator iterator()
public long ramBytesUsed()
public final long size()
public final void add(long l)
public final long get(long index)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.