|
|||||||||
| 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 |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
protected ArgumentMap |
_arguments
The arguments of the reference, mapped by name. |
protected String |
_name
The name of the referenced configuration. |
| 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 |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String _name
protected ArgumentMap _arguments
| 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 | ||||||||