|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.threerings.config.ArgumentMap
public class ArgumentMap
Stores arguments in a sorted entry list.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
ArgumentMap()
Creates an empty map. |
|
ArgumentMap(String firstKey,
Object firstValue,
Object... otherArgs)
Creates an argument map with the supplied arguments. |
|
| Method Summary | |
|---|---|
void |
clear()
|
ArgumentMap |
clone()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Object |
copy(Object dest)
Creates a copy of this object, (re)populating the supplied destination object if possible. |
Object |
copy(Object dest,
Object outer)
Creates a copy of this object, (re)populating the supplied destination object if possible. |
Set<Map.Entry<String,Object>> |
entrySet()
|
boolean |
equals(Object other)
|
Object |
get(Object key)
|
int |
hashCode()
|
Object |
put(String key,
Object value)
|
void |
readObject(com.threerings.io.ObjectInputStream in)
Custom read method. |
Object |
remove(Object key)
|
int |
size()
|
void |
writeObject(com.threerings.io.ObjectOutputStream out)
Custom write method. |
| Methods inherited from class java.util.AbstractMap |
|---|
isEmpty, keySet, putAll, toString, values |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArgumentMap(String firstKey,
Object firstValue,
Object... otherArgs)
public ArgumentMap()
| Method Detail |
|---|
public void writeObject(com.threerings.io.ObjectOutputStream out)
throws IOException
IOException
public void readObject(com.threerings.io.ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundExceptionpublic Object copy(Object dest)
Copyable
copy in interface Copyable
public Object copy(Object dest,
Object outer)
Copyable
copy in interface Copyableouter - the outer object reference to use for inner object creation, if any.
public int size()
size in interface Map<String,Object>size in class AbstractMap<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>containsValue in class AbstractMap<String,Object>public boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in class AbstractMap<String,Object>public Object get(Object key)
get in interface Map<String,Object>get in class AbstractMap<String,Object>
public Object put(String key,
Object value)
put in interface Map<String,Object>put in class AbstractMap<String,Object>public Object remove(Object key)
remove in interface Map<String,Object>remove in class AbstractMap<String,Object>public void clear()
clear in interface Map<String,Object>clear in class AbstractMap<String,Object>public Set<Map.Entry<String,Object>> entrySet()
entrySet in interface Map<String,Object>entrySet in class AbstractMap<String,Object>public boolean equals(Object other)
equals in interface Map<String,Object>equals in class AbstractMap<String,Object>public int hashCode()
hashCode in interface Map<String,Object>hashCode in class AbstractMap<String,Object>public ArgumentMap clone()
clone in class AbstractMap<String,Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||