Package org.mvel2.ast
Class Proto.ProtoInstance
- java.lang.Object
-
- org.mvel2.ast.Proto.ProtoInstance
-
- All Implemented Interfaces:
Map<String,Proto.Receiver>
- Enclosing class:
- Proto
public class Proto.ProtoInstance extends Object implements Map<String,Proto.Receiver>
-
-
Constructor Summary
Constructors Constructor Description ProtoInstance(Proto protoType, Object ctx, Object thisCtx, VariableResolverFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,Proto.Receiver>>entrySet()Proto.Receiverget(Object key)ProtogetProtoType()booleanisEmpty()Set<String>keySet()Proto.Receiverput(String key, Proto.Receiver value)voidputAll(Map m)Proto.Receiverremove(Object key)intsize()Collection<Proto.Receiver>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
ProtoInstance
public ProtoInstance(Proto protoType, Object ctx, Object thisCtx, VariableResolverFactory factory)
-
-
Method Detail
-
getProtoType
public Proto getProtoType()
-
size
public int size()
- Specified by:
sizein interfaceMap<String,Proto.Receiver>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceMap<String,Proto.Receiver>
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Proto.Receiver>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,Proto.Receiver>
-
get
public Proto.Receiver get(Object key)
- Specified by:
getin interfaceMap<String,Proto.Receiver>
-
put
public Proto.Receiver put(String key, Proto.Receiver value)
- Specified by:
putin interfaceMap<String,Proto.Receiver>
-
remove
public Proto.Receiver remove(Object key)
- Specified by:
removein interfaceMap<String,Proto.Receiver>
-
putAll
public void putAll(Map m)
- Specified by:
putAllin interfaceMap<String,Proto.Receiver>
-
clear
public void clear()
- Specified by:
clearin interfaceMap<String,Proto.Receiver>
-
values
public Collection<Proto.Receiver> values()
- Specified by:
valuesin interfaceMap<String,Proto.Receiver>
-
entrySet
public Set<Map.Entry<String,Proto.Receiver>> entrySet()
- Specified by:
entrySetin interfaceMap<String,Proto.Receiver>
-
-