public class CompiledMapIterationContext.EntryValueBytesData extends AbstractData<V>
Constructor and Description |
---|
EntryValueBytesData() |
Modifier and Type | Method and Description |
---|---|
RandomDataInput |
bytes()
Returns the accessor object to the
Data 's bytes. |
V |
cachedEntryValue() |
boolean |
cachedEntryValueInit() |
void |
closeCachedEntryValue() |
void |
closeEntryValueBytesDataInnerGetUsingDependants() |
void |
closeEntryValueBytesDataSizeDependants() |
V |
get()
Returns "cached" object, generally not eligible for using outside some context, or a block,
synchronized with locks, or lambda, etc.
|
V |
getUsing(V using)
Reads the object from the value's bytes, trying to reuse the given object (might be
null ). |
long |
offset()
Returns the offset to the
Data 's bytes sequence, within the Data.bytes() object. |
long |
size()
Returns the size of this
Data 's bytes sequence. |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
bytesEquivalent, dataEquals, dataHashCode, equivalent, hash, writeTo
public long offset()
Data
Data
's bytes sequence, within the Data.bytes()
object.
For example, the first byte of the bytes representation of this Data
instance is
data.bytes().readByte(data.offset())
.public long size()
Data
Data
's bytes sequence. It spans from Data.offset()
to
offset() + size() - 1
bytes within the Data.bytes()
object.public void closeEntryValueBytesDataSizeDependants()
public void closeEntryValueBytesDataInnerGetUsingDependants()
public V getUsing(V using)
Data
null
).public boolean cachedEntryValueInit()
public V cachedEntryValue()
public void closeCachedEntryValue()
public V get()
Data
If the Data
is object wrapper -- this method just returns this object.
public RandomDataInput bytes()
Data
Data
's bytes. For safety, this interface returns
read-only object, because this object could expose bytes source that must be immutable, e. g.
an array behind String
object.Copyright © 2015. All rights reserved.