public interface IRogStringMap<T extends IRogCollectionNodeElement> extends IRogCollectionNode<T>, Map<String,T>
IRogStringMap
s are generally optimized to perform best with a particular
CharSequence
subclass type for the key, but subclasess must functionally
treat keys representing the same sequence of characters as being equal despite
CharSequence
's lack of an Object.equals(Object)
guarantee.
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(CharSequence key)
Returns true if this map contains a mapping for the specified key.
|
T |
get(CharSequence key)
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
|
T |
put(CharSequence key,
T value)
Associates the specified value with the specified key in this map.
|
T |
remove(CharSequence key)
Removes the mapping for a key from this map if it is present
|
XIterator<Map.Entry<String,T>> |
reuseableEntryIterator()
Returns a reusable value iterator.
|
XIterator<String> |
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(CharSequence key, T value)
key
- The key to add.value
- The value to add.Map.put(Object, Object)
T get(CharSequence key)
key
- The key to look up.Map.get(Object)
boolean containsKey(CharSequence key)
key
- The key to check for.T remove(CharSequence key)
key
- The key to removeXIterator<String> 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<Map.Entry<String,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.