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 CompositewithEOC in class AbstractCompositepublic java.nio.ByteBuffer toByteBuffer()
toByteBuffer in interface CompositetoByteBuffer in class AbstractCompositepublic long unsharedHeapSize()
public Composite copy(CFMetaData cfm, AbstractAllocator allocator)
Copyright © 2018 The Apache Software Foundation