Package ion.SyncCollections
Class ElementHashDictionary<TKey,TValue extends ion.Meta.Element>
java.lang.Object
ion.Meta.Element
ion.SyncCollections.HashDictionary<TKey,TValue>
ion.SyncCollections.ElementHashDictionary<TKey,TValue>
- Type Parameters:
K- the class of the dictionary keysV- the class of the dictionary values
- All Implemented Interfaces:
ICollectionValue<Map.Entry<TKey,,TValue>> IDictionary<TKey,,TValue> Iterable<Map.Entry<TKey,TValue>>
public class ElementHashDictionary<TKey,TValue extends ion.Meta.Element>
extends HashDictionary<TKey,TValue>
An implementation of HashDictionary<K,V> where the values must extend Element.
All events raised on the elements are also raised on the ElementHashDictionary.
Added / Removed / Set Events are raised on both ElementHashDictionary and elements.
- Author:
- GAIPS
-
Nested Class Summary
Nested classes/interfaces inherited from class ion.SyncCollections.HashDictionary
HashDictionary.AddRequest, HashDictionary.ModifyElementRequest, HashDictionary.RemoveRequest, HashDictionary.SetRequest -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ion.SyncCollections.HashDictionary
add, addAll, contains, contains, containsAll, copyTo, count, get, getDictionary, getKeys, getValues, handleModificationRequests, iterator, remove, removeAll, removeAll, set, toArrayMethods inherited from class ion.Meta.Element
destroy, getEventFilters, getEventHandlers, getRequestFilters, getRequestHandlers, getSimulation, getUID, raise, schedule, wasDestroyedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ElementHashDictionary
public ElementHashDictionary()
-
-
Method Details
-
onDestroy
public void onDestroy()- Overrides:
onDestroyin classHashDictionary<TKey,TValue extends ion.Meta.Element>
-