public abstract class KeyedString extends Object implements Cloneable, Serializable, DDSObject
Constructor and Description |
---|
KeyedString() |
Modifier and Type | Method and Description |
---|---|
abstract KeyedString |
clone() |
abstract void |
copyFrom(KeyedString src)
Overwrite the state of this object with that of the given object.
|
abstract String |
getKey() |
abstract String |
getValue() |
static KeyedString |
newKeyedString(ServiceEnvironment env) |
abstract KeyedString |
setKey(CharSequence key) |
abstract KeyedString |
setValue(CharSequence value) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnvironment
public static KeyedString newKeyedString(ServiceEnvironment env)
public abstract KeyedString setKey(CharSequence key)
key
- the key to setpublic abstract String getKey()
public abstract KeyedString setValue(CharSequence value)
value
- the value to setpublic abstract String getValue()
public abstract void copyFrom(KeyedString src)
public abstract KeyedString clone()
Copyright © 2014. All rights reserved.