public final class MessageObjectPropertiesCollection extends LinkedHashMap<Long,MessageObjectProperty> implements Iterable<MessageObjectProperty>
Represents a keyed collection for MessageObjectProperty
objects.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MessageObjectPropertiesCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(MessageObjectProperty item) |
protected long |
getKeyForItem(MessageObjectProperty item)
When implemented in a derived class, extracts the key from the specified element.
|
Iterator<MessageObjectProperty> |
iterator() |
MessageObjectProperty |
tryGetValue(long propertyTag)
Tries to get value, by specified key.
|
clear, containsValue, get, removeEldestEntry
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
protected long getKeyForItem(MessageObjectProperty item)
When implemented in a derived class, extracts the key from the specified element.
item
- The element from which to extract the key.public MessageObjectProperty tryGetValue(long propertyTag)
Tries to get value, by specified key.
propertyTag
- The property tag.MessageObjectProperty
object if operation succeeds, otherwise null.public Iterator<MessageObjectProperty> iterator()
iterator
in interface Iterable<MessageObjectProperty>
public void add(MessageObjectProperty item)
Copyright (c) 2008-2014 Aspose Pty Ltd. All Rights Reserved.