public class BoundedComposite extends AbstractComposite
Composite.EOC
Modifier and Type | Method and Description |
---|---|
Composite |
copy(AbstractAllocator allocator) |
Composite.EOC |
eoc() |
void |
free(PoolAllocator<?> allocator) |
java.nio.ByteBuffer |
get(int i) |
int |
size() |
java.nio.ByteBuffer |
toByteBuffer() |
long |
unsharedHeapSize() |
Composite |
withEOC(Composite.EOC eoc) |
dataSize, end, equals, hashCode, isEmpty, isPrefixOf, slice, start
public int size()
public java.nio.ByteBuffer get(int i)
public Composite.EOC eoc()
eoc
in interface Composite
eoc
in class AbstractComposite
public Composite withEOC(Composite.EOC eoc)
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