public interface IRogIntMap<T extends IRogCollectionNodeElement> extends IRogCollectionNode<T>, Map<Integer,T>
An IRogIntMap
provides the ability to work with int 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(int key)
Returns true if this map contains a mapping for the specified key.
|
T |
get(int key)
Returns the value mapped to the given key.
|
T |
put(int key,
T value)
Associates the specified value with the specified key in this map.
|
T |
remove(int key)
Removes the mapping for a key from this map if it is present.
|
XIterator<XIntMap.Entry<T>> |
reuseableEntryIterator()
Returns a reusable value iterator.
|
XIntIterator |
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(int key, T value)
This variant avoids auto boxing garbage if the underlying map supports it.
key
- The keyvalue
- The valueT get(int key)
This variant avoids auto boxing garbage if the underlying map supports it.
key
- The key value.boolean containsKey(int key)
This variant avoids auto boxing garbage if the underlying map supports it.
key
- The key.T remove(int key)
key
- The to remove from the map.XIntIterator 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<XIntMap.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.