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