|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.io.SimpleStreamableObject
com.threerings.config.dist.data.ConfigKey
public class ConfigKey
Identifies a configuration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
protected Class<? extends ManagedConfig> |
_cclass
The config class. |
protected String |
_name
The config name. |
| Constructor Summary | |
|---|---|
ConfigKey()
No-arg constructor for deserialization. |
|
ConfigKey(Class<? extends ManagedConfig> cclass,
String name)
Constructor for new keys. |
|
| Method Summary | |
|---|---|
int |
compareTo(ConfigKey other)
|
boolean |
equals(Object other)
|
Class<? extends ManagedConfig> |
getConfigClass()
Returns the config class. |
Comparable<?> |
getKey()
|
String |
getName()
Returns the name of the config. |
void |
readObject(ObjectInputStream in)
Custom read method for streaming. |
String |
toString()
|
void |
writeObject(ObjectOutputStream out)
Custom write method for streaming. |
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected transient Class<? extends ManagedConfig> _cclass
protected String _name
| Constructor Detail |
|---|
public ConfigKey(Class<? extends ManagedConfig> cclass,
String name)
public ConfigKey()
| Method Detail |
|---|
public Class<? extends ManagedConfig> getConfigClass()
public String getName()
public void writeObject(ObjectOutputStream out)
throws IOException
IOException
public void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundExceptionpublic int compareTo(ConfigKey other)
compareTo in interface Comparable<ConfigKey>public Comparable<?> getKey()
getKey in interface DSet.Entrypublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class SimpleStreamableObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||