|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ConfigReference<T>
public class ConfigReference<T extends ManagedConfig>
A reference to a configuration that can be embedded in, for example, other configurations.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Constructor Summary | |
|---|---|
ConfigReference()
No-arg constructor for deserialization. |
|
ConfigReference(String name)
Creates a new reference to the named configuration. |
|
ConfigReference(String name,
String firstKey,
Object firstValue,
Object... otherArgs)
Creates a new reference to the named configuration with the specified arguments. |
|
| Method Summary | |
|---|---|
Object |
copy(Object dest)
Creates a copy of this object, (re)populating the supplied destination object if possible. |
boolean |
equals(Object other)
|
ArgumentMap |
getArguments()
Returns a reference to the argument map. |
String |
getName()
Returns the name of the referenced config. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigReference(String name)
public ConfigReference(String name,
String firstKey,
Object firstValue,
Object... otherArgs)
public ConfigReference()
| Method Detail |
|---|
public String getName()
public ArgumentMap getArguments()
public Object copy(Object dest)
Copyable
copy in interface Copyablecopy in class DeepObjectpublic boolean equals(Object other)
equals in class DeepObjectpublic int hashCode()
hashCode in class DeepObjectpublic String toString()
toString in class DeepObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||