Class MixedIdentityHashMap
- java.lang.Object
- 
- jadex.rules.rulesystem.rete.nodes.MixedIdentityHashMap
 
- 
- All Implemented Interfaces:
- java.util.Map
 
 public class MixedIdentityHashMap extends java.lang.Object implements java.util.MapA mixed identity hash map allows to store java objects using identity and java values (numbers, strings, etc.) using equality. Rete tuples are always stored by equality.
- 
- 
Constructor SummaryConstructors Constructor Description MixedIdentityHashMap(IOAVState state)Create a new mixed identity map.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(java.lang.Object key)booleancontainsValue(java.lang.Object value)java.util.SetentrySet()booleanequals(java.lang.Object obj)java.lang.Objectget(java.lang.Object key)inthashCode()booleanisEmpty()java.util.SetkeySet()java.lang.Objectput(java.lang.Object key, java.lang.Object value)voidputAll(java.util.Map map)java.lang.Objectremove(java.lang.Object key)intsize()java.util.Collectionvalues()
 
- 
- 
- 
Field Detail- 
stateprotected IOAVState state The state.
 - 
equalityprotected java.util.Map equality The equality map.
 - 
identityprotected java.util.Map identity The identity map.
 
- 
 - 
Constructor Detail- 
MixedIdentityHashMappublic MixedIdentityHashMap(IOAVState state) Create a new mixed identity map.
 
- 
 - 
Method Detail- 
clearpublic void clear() - Specified by:
- clearin interface- java.util.Map
 
 - 
containsKeypublic boolean containsKey(java.lang.Object key) - Specified by:
- containsKeyin interface- java.util.Map
 
 - 
containsValuepublic boolean containsValue(java.lang.Object value) - Specified by:
- containsValuein interface- java.util.Map
 
 - 
getpublic java.lang.Object get(java.lang.Object key) - Specified by:
- getin interface- java.util.Map
 
 - 
isEmptypublic boolean isEmpty() - Specified by:
- isEmptyin interface- java.util.Map
 
 - 
putpublic java.lang.Object put(java.lang.Object key, java.lang.Object value)- Specified by:
- putin interface- java.util.Map
 
 - 
putAllpublic void putAll(java.util.Map map) - Specified by:
- putAllin interface- java.util.Map
 
 - 
removepublic java.lang.Object remove(java.lang.Object key) - Specified by:
- removein interface- java.util.Map
 
 - 
sizepublic int size() - Specified by:
- sizein interface- java.util.Map
 
 - 
valuespublic java.util.Collection values() - Specified by:
- valuesin interface- java.util.Map
 
 - 
entrySetpublic java.util.Set entrySet() - Specified by:
- entrySetin interface- java.util.Map
 
 - 
keySetpublic java.util.Set keySet() - Specified by:
- keySetin interface- java.util.Map
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- java.util.Map
- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin interface- java.util.Map
- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-