org.drools.factmodel.traits
Class VetoableTypedMap<T extends String,K extends Thing>
java.lang.Object
org.drools.factmodel.traits.VetoableTypedMap<T,K>
- All Implemented Interfaces:
- Externalizable, Serializable, Map<String,Thing>
public class VetoableTypedMap<T extends String,K extends Thing>
- extends Object
- implements Map<String,Thing>, Externalizable
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
VetoableTypedMap
public VetoableTypedMap()
VetoableTypedMap
public VetoableTypedMap(Map map)
size
public int size()
- Specified by:
size in interface Map<String,Thing>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<String,Thing>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<String,Thing>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<String,Thing>
get
public Thing get(Object key)
- Specified by:
get in interface Map<String,Thing>
put
public Thing put(String key,
Thing value)
- Specified by:
put in interface Map<String,Thing>
putSafe
public Thing putSafe(String key,
Thing value)
throws LogicalTypeInconsistencyException
- Throws:
LogicalTypeInconsistencyException
remove
public Thing remove(Object key)
- Specified by:
remove in interface Map<String,Thing>
putAll
public void putAll(Map<? extends String,? extends Thing> m)
- Specified by:
putAll in interface Map<String,Thing>
clear
public void clear()
- Specified by:
clear in interface Map<String,Thing>
keySet
public Set<String> keySet()
- Specified by:
keySet in interface Map<String,Thing>
values
public Collection<Thing> values()
- Specified by:
values in interface Map<String,Thing>
entrySet
public Set<Map.Entry<String,Thing>> entrySet()
- Specified by:
entrySet in interface Map<String,Thing>
addToVetoable
public void addToVetoable(Class trait)
throws LogicalTypeInconsistencyException
- Throws:
LogicalTypeInconsistencyException
removeFromVetoable
public void removeFromVetoable(Class trait)
toString
public String toString()
- Overrides:
toString in class Object
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput objectInput)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.