K
- the type of keys maintained by the mapV
- the type of values mapped by the mappublic abstract class MapParamDefinition<K,V> extends BaseParamDefinition implements sim.portrayal.inspector.ProvidesInspector
ParamDefinition
using a map to store its parameters.Modifier and Type | Class and Description |
---|---|
static class |
MapParamDefinition.Default<K,V>
MapParamDefinition default implementation . |
Constructor and Description |
---|
MapParamDefinition() |
Modifier and Type | Method and Description |
---|---|
DefinitionAccessor<?> |
accessor()
Returns a
MapAccessor for the map. |
boolean |
equals(Object obj) |
abstract Map<K,V> |
getMap()
Gets the map this definition consists of.
|
protected Set<K> |
getNotAutomatableKeys()
Gets the set of keys which are not automatable.
|
int |
hashCode() |
Inspector |
provideInspector(GUIState state,
String name) |
String |
toString() |
hideTitle
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTitle
public abstract Map<K,V> getMap()
protected Set<K> getNotAutomatableKeys()
public DefinitionAccessor<?> accessor()
MapAccessor
for the map.accessor
in interface ParamDefinition
public Inspector provideInspector(GUIState state, String name)
provideInspector
in interface sim.portrayal.inspector.ProvidesInspector
public String toString()
toString
in class BaseParamDefinition