public class SimpleComposite extends AbstractComposite
Composite.EOC
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
element |
Modifier and Type | Method and Description |
---|---|
Composite |
copy(AbstractAllocator allocator) |
void |
free(PoolAllocator<?> allocator) |
java.nio.ByteBuffer |
get(int i) |
int |
size() |
java.nio.ByteBuffer |
toByteBuffer() |
long |
unsharedHeapSize() |
Composite |
withEOC(Composite.EOC newEoc) |
dataSize, end, eoc, equals, hashCode, isEmpty, isPrefixOf, slice, start
public int size()
public java.nio.ByteBuffer get(int i)
public Composite withEOC(Composite.EOC newEoc)
withEOC
in interface Composite
withEOC
in class AbstractComposite
public java.nio.ByteBuffer toByteBuffer()
toByteBuffer
in interface Composite
toByteBuffer
in class AbstractComposite
public long unsharedHeapSize()
public Composite copy(AbstractAllocator allocator)
public void free(PoolAllocator<?> allocator)
Copyright © 2014 The Apache Software Foundation