public interface TypeMap
Modifier and Type | Method and Description |
---|---|
void |
clear()
Empty the map.
|
boolean |
containsKey(Class<?> type)
Is there a value associated with a type?
|
<Value> Value |
get(Class<Value> type)
Get the value associated with a type.
|
boolean |
isEmpty()
Does the map contain any entries?
|
<Value> TypeMap |
put(Class<Value> type,
Value value)
Set the value associated with a type, and return the map for use in map.put(k1, v1).put(k2,
v2)...
|
void |
remove(Class<Integer> type)
Remove the value associated with the type.
|
int |
size()
How many entries does the map contain?
|
Map<Class<?>,Object> |
stateCopy()
A Map copy of the state.
|
<Value> TypeMap put(Class<Value> type, Value value)
<Value> Value get(Class<Value> type)
boolean containsKey(Class<?> type)
boolean isEmpty()
void clear()
int size()
Copyright © 2014. All rights reserved.