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(CFMetaData cfm,
AbstractAllocator allocator) |
java.nio.ByteBuffer |
get(int i) |
int |
size() |
java.nio.ByteBuffer |
toByteBuffer() |
long |
unsharedHeapSize() |
Composite |
withEOC(Composite.EOC newEoc) |
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(CFMetaData cfm, AbstractAllocator allocator)
Copyright © 2015 The Apache Software Foundation