public interface IRogShortMap<T extends IRogCollectionNodeElement> extends IRogCollectionNode<T>, Map<Short,T>
An IRogShortMap provides the ability to work with short keys without
generating autoboxing related garbages.
IRogNode.PoolingListenerIStoreObject.EncodingTypeENCODING_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(short key)
Returns true if this map contains a mapping for the specified key.
|
T |
get(short key)
Returns the value mapped to the given key.
|
T |
put(short key,
T value)
Associates the specified value with the specified key in this map.
|
T |
remove(short key)
Removes the mapping for a key from this map if it is present.
|
XIterator<XShortMap.Entry<T>> |
reuseableEntryIterator()
Returns a reusable value iterator.
|
XShortIterator |
reuseableKeyIterator()
Returns a reusable key iterator.
|
XIterator<T> |
reuseableValueIterator()
Returns a reusable value iterator.
|
addChild, getNumChildren, removeChilddeserializeFromProtobuf, 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, setTransactionOutSequenceNumberacquire, deserialize, deserializeMetadata, deserializeMetadata, getContentEncodingType, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, saveMemory, serialize, serializeMetadata, setFieldValueensureId, getBinding, getCheckpointVersion, getCommittedDataSize, getId, getOfid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setId, setStableTransactionId, setTransactionIdgetMessageReflectoracquire, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, deserializeFrom, 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, saveMemory, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, serializeTo, 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, syncreferenceTrackergetEnqueueTs, 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, metadataToStringgetValidationErrors, isValidclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesT put(short key, T value)
This variant avoids auto boxing garbage if the underlying map supports it.
key - The keyvalue - The valueT get(short key)
This variant avoids auto boxing garbage if the underlying map supports it.
key - The key value.boolean containsKey(short key)
This variant avoids auto boxing garbage if the underlying map supports it.
key - The key.T remove(short key)
key - The to remove from the map.XShortIterator 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<XShortMap.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.