public interface IRogFloatMap<T extends IRogCollectionNodeElement> extends IRogCollectionNode<T>, Map<Float,T>
An IRogFloatMap
provides the ability to work with float keys without
generating autoboxing related garbages.
IRogNode.PoolingListener
IStoreObject.EncodingType
ENCODING_TYPE_CUSTOM, ENCODING_TYPE_JSON, ENCODING_TYPE_PROTOBUF, ENCODING_TYPE_QUARK, ENCODING_TYPE_XBUF, ENCODING_TYPE_XBUF2, NEXT_FREE_ENCODING_TYPE
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(float key)
Returns true if this map contains a mapping for the specified key.
|
T |
get(float key)
Returns the value mapped to the given key.
|
T |
put(float key,
T value)
Associates the specified value with the specified key in this map.
|
T |
remove(float key)
Removes the mapping for a key from this map if it is present.
|
XIterator<XFloatMap.Entry<T>> |
reuseableEntryIterator()
Returns a reusable value iterator.
|
XFloatIterator |
reuseableKeyIterator()
Returns a reusable key iterator.
|
XIterator<T> |
reuseableValueIterator()
Returns a reusable value iterator.
|
addChild, getNumChildren, removeChild
deserializeFromProtobuf, dispose, dump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, serializeToProtobuf, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReadOnly, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
acquire, deserialize, deserializeMetadata, deserializeMetadata, getContentEncodingType, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, serialize, serializeMetadata, setFieldValue
ensureId, getBinding, getCheckpointVersion, getCommittedDataSize, getId, getOfid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setId, setStableTransactionId, setTransactionId
getMessageReflector
acquire, deserializeFromByteArray, deserializeFromByteBuffer, deserializeFromJson, deserializeFromPacket, getAppSendBeginTs, getAppSendDoneTs, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageEncodingType, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOriginTs, getOutTs, getOutTsMicros, getOwnershipCount, getPostDeserializeTs, getPostProcessingTs, getPostProcessingTsMicros, getPostSerializeTs, getPostWireSendTs, getPostWireTs, getPreDeserializeTs, getPreProcessingTs, getPreProcessingTsMicros, getPreSerializeTs, getPreWireTs, getReceiveTs, getSendStartTs, getSendTs, getTag, getVfid, isPossibleDuplicate, resolveMessageKeyWith, resolveMessageKeyWith, serializeToByteArray, serializeToByteBuffer, serializeToIOBuffer, serializeToJson, serializeToPacket, setAppSendBeginTs, setAppSendDoneTs, setCreateTs, setEnqueueTsMicros, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setMessageTransportHeaders, setOriginTs, setOutTs, setOutTsMicros, setPossibleDuplicate, setPostDeserializeTs, setPostProcessingTs, setPostProcessingTsMicros, setPostSerializeTs, setPostWireSendTs, setPostWireTs, setPreDeserializeTs, setPreProcessingTs, setPreProcessingTsMicros, setPreSerializeTs, setPreWireTs, setReceiveTs, setSendStartTs, setSendTs, setTag, sync
referenceTracker
getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToString
getValidationErrors, isValid
T put(float key, T value)
This variant avoids auto boxing garbage if the underlying map supports it.
key
- The keyvalue
- The valueT get(float key)
This variant avoids auto boxing garbage if the underlying map supports it.
key
- The key value.boolean containsKey(float key)
This variant avoids auto boxing garbage if the underlying map supports it.
key
- The key.T remove(float key)
key
- The to remove from the map.XFloatIterator reuseableKeyIterator()
XIterator.toFirst()
is called by this method to reset it
to the beginning.UnsupportedOperationException
- if the map doesn't support reusable iterators.XIterator<T> reuseableValueIterator()
XIterator.toFirst()
is called by this method to reset it
to the beginning.UnsupportedOperationException
- if the map doesn't support reusable iterators.XIterator<XFloatMap.Entry<T>> reuseableEntryIterator()
XIterator.toFirst()
is called by this method to reset it
to the beginning.UnsupportedOperationException
- if the map doesn't support reusable iterators.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.