public interface Msg
Msg interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int aKey)
contains.
|
Object |
get(int aKey)
get.
|
<T> T |
get(int aKey,
Class<T> clazz)
get.
|
Msg |
getAllAsMsg()
getAll.
|
Object[] |
getAllAsObjects()
getAllAsObjects.
|
void |
getAllAsObjects(Object... aObjects)
getAllAsObjects.
|
int |
getArrayLength(int aKey)
getArrayLength.
|
boolean |
getAsBoolean(int aKey)
getAsBoolean.
|
boolean[] |
getAsBooleans(int aKey)
getAsBooleans.
|
byte |
getAsByte(int aKey)
getAsByte.
|
byte[] |
getAsBytes(int aKey)
getAsBytes.
|
double |
getAsDouble(int aKey)
getAsDouble.
|
double[] |
getAsDoubles(int aKey)
getAsDoubles.
|
float |
getAsFloat(int aKey)
getAsFloat.
|
float[] |
getAsFloats(int aKey)
getAsFloats.
|
int |
getAsInt(int aKey)
getAsInt.
|
int[] |
getAsInts(int aKey)
getAsInts.
|
long |
getAsLong(int aKey)
getAsLong.
|
long[] |
getAsLongs(int aKey)
getAsLongs.
|
Msg |
getAsMsg(int aKey)
getAsMsg.
|
void |
getAsMsg(int aKey,
Msg destMsg)
getAsMsg.
|
Msg[] |
getAsMsgs(int aKey)
getAsMsgs.
|
void |
getAsMsgs(int aKey,
Msg... destMsgs)
getAsMsgs.
|
Null |
getAsNull(int aKey)
getAsNull.
|
Boolean |
getAsNullableBoolean(int aKey)
getAsNullableBoolean.
|
Boolean[] |
getAsNullableBooleans(int aKey)
getAsNullableBooleans.
|
Byte |
getAsNullableByte(int aKey)
getAsNullableByte.
|
Byte[] |
getAsNullableBytes(int aKey)
getAsNullableBytes.
|
Double |
getAsNullableDouble(int aKey)
getAsNullableDouble.
|
Double[] |
getAsNullableDoubles(int aKey)
getAsNullableDoubles.
|
Float |
getAsNullableFloat(int aKey)
getAsNullableFloat.
|
Float[] |
getAsNullableFloats(int aKey)
getAsNullableFloats.
|
Integer |
getAsNullableInteger(int aKey)
getAsNullableInt.
|
Integer[] |
getAsNullableIntegers(int aKey)
getAsNullableIntegers.
|
Long |
getAsNullableLong(int aKey)
getAsNullableLong.
|
Long[] |
getAsNullableLongs(int aKey)
getAsNullableLongs.
|
Short |
getAsNullableShort(int aKey)
getAsNullableShort.
|
Short[] |
getAsNullableShorts(int aKey)
getAsNullableShorts.
|
Object[] |
getAsObjects(int aKey)
getAsObjects.
|
short |
getAsShort(int aKey)
getAsShort.
|
short[] |
getAsShorts(int aKey)
getAsShorts.
|
String |
getAsString(int aKey)
getAsString.
|
String[] |
getAsStrings(int aKey)
getAsStrings.
|
int |
getKeyMax()
getKeyMax.
|
int[] |
getKeysArray()
getKeysArray.
|
int |
getKeysLength()
getKeysLength.
|
Type |
getType(int key)
getType.
|
byte |
getTypeAsByte(int key)
getTypeAsByte.
|
boolean |
isArray(int aKey)
isArray.
|
boolean |
isByteBufferSerializable()
isByteBufferSerializable.
|
boolean |
isByteBufSerializable()
isByteBufSerializable.
|
boolean |
isBytesSerializable()
isBytesSerializable.
|
boolean |
isEmpty()
isEmpty.
|
boolean |
isSerializable()
isSerializable.
|
void |
remove(int... aKeys)
remove.
|
void |
removeAll()
removeAll.
|
void |
set(int aKey,
boolean... aBooleans)
set.
|
void |
set(int aKey,
Boolean... aBooleans)
set.
|
void |
set(int aKey,
boolean aBoolean)
set.
|
void |
set(int aKey,
Boolean aBoolean)
set.
|
void |
set(int aKey,
Boolean aBoolean,
boolean optimizeLength)
set.
|
void |
set(int aKey,
byte... aBytes)
set.
|
void |
set(int aKey,
Byte... aBytes)
set.
|
void |
set(int aKey,
byte aByte)
set.
|
void |
set(int aKey,
Byte aByte)
set.
|
void |
set(int aKey,
Byte aByte,
boolean optimizeLength)
set.
|
void |
set(int aKey,
double... aDoubles)
set.
|
void |
set(int aKey,
Double... aDoubles)
set.
|
void |
set(int aKey,
double aDouble)
set.
|
void |
set(int aKey,
Double aDouble)
set.
|
void |
set(int aKey,
double aDouble,
boolean optimizeLength)
set.
|
void |
set(int aKey,
Double aDouble,
boolean optimizeLength)
set.
|
void |
set(int aKey,
double aDouble,
int aScale)
set.
|
void |
set(int aKey,
Double aDouble,
int aScale)
set.
|
void |
set(int aKey,
Double aDouble,
int aScale,
boolean optimizeLength)
set.
|
void |
set(int aKey,
float... aFloats)
set.
|
void |
set(int aKey,
Float... aFloats)
set.
|
void |
set(int aKey,
float aFloat)
set.
|
void |
set(int aKey,
Float aFloat)
set.
|
void |
set(int aKey,
Float aFloat,
boolean optimizeLength)
set.
|
void |
set(int aKey,
int... aInts)
set.
|
void |
set(int aKey,
int aInt)
set.
|
void |
set(int aKey,
int aInt,
boolean optimizeLength)
set.
|
void |
set(int aKey,
Integer... aInts)
set.
|
void |
set(int aKey,
Integer aInt)
set.
|
void |
set(int aKey,
Integer aInt,
boolean optimizeLength)
set.
|
void |
set(int aKey,
long... aLongs)
set.
|
void |
set(int aKey,
Long... aLongs)
set.
|
void |
set(int aKey,
long aLong)
set.
|
void |
set(int aKey,
Long aLong)
set.
|
void |
set(int aKey,
long aLong,
boolean optimizeLength)
set.
|
void |
set(int aKey,
Long aLong,
boolean optimizeLength)
set.
|
void |
set(int aKey,
Msg... aMsgs)
set.
|
void |
set(int aKey,
Msg aMsg)
set.
|
void |
set(int aKey,
Null aNull)
set .
|
void |
set(int aKey,
Object anObject)
set.
|
void |
set(int aKey,
Object aObject,
boolean optimizeLength)
set.
|
void |
set(int aKey,
short... aShorts)
set.
|
void |
set(int aKey,
Short... aShorts)
set.
|
void |
set(int aKey,
short aShort)
set.
|
void |
set(int aKey,
Short aShort)
set.
|
void |
set(int aKey,
short aShort,
boolean optimizeLength)
set.
|
void |
set(int aKey,
Short aShort,
boolean optimizeLength)
set.
|
void |
set(int aKey,
String... aStrings)
set.
|
void |
set(int aKey,
String aString)
set.
|
void |
set(int aKey,
String[] aStrings,
boolean forceAsciiEncoding)
set.
|
void |
set(int aKey,
String aString,
boolean forceAsciiEncoding)
set.
|
void |
setAll(Msg aMsg)
setAll.
|
void |
setAll(Object... anObjects)
setAll.
|
boolean isEmpty()
boolean isSerializable()
boolean isBytesSerializable()
boolean isByteBufferSerializable()
boolean isByteBufSerializable()
int[] getKeysArray()
getKeysArray.
int getKeyMax()
int getKeysLength()
Type getType(int key)
key - byte getTypeAsByte(int key)
key - boolean isArray(int aKey)
aKey - an unsigned int.int getArrayLength(int aKey)
aKey - an unsigned int.boolean contains(int aKey)
contains.
aKey - an unsigned int.<T> T get(int aKey,
Class<T> clazz)
get.
aKey - an unsigned intclazz - Object object.Null getAsNull(int aKey)
aKey - boolean getAsBoolean(int aKey)
getAsBoolean.
Can throw new IllegalArgumentException if the key is not present in the Msg (can return null for a primitive type). UseaKey - an unsigned int.Boolean getAsNullableBoolean(int aKey)
aKey - an unsigned int.byte getAsByte(int aKey)
getAsByte.
Can throw new IllegalArgumentException if the key is not present in the Msg (can return null for a primitive type). UseaKey - an unsigned int.Byte getAsNullableByte(int aKey)
aKey - an unsigned int.short getAsShort(int aKey)
getAsShort.
Can throw new IllegalArgumentException if the key is not present in the Msg (can return null for a primitive type). UseaKey - an unsigned int.Short getAsNullableShort(int aKey)
aKey - an unsigned int.int getAsInt(int aKey)
getAsInt.
Can throw new IllegalArgumentException if the key is not present in the Msg (can return null for a primitive type). UseaKey - an unsigned int.defaultValue - Integer getAsNullableInteger(int aKey)
aKey - an unsigned int.long getAsLong(int aKey)
getAsLong.
Can throw new IllegalArgumentException if the key is not present in the Msg (can return null for a primitive type). UseaKey - an unsigned int.Long getAsNullableLong(int aKey)
aKey - an unsigned int.float getAsFloat(int aKey)
getAsFloat.
Can throw new IllegalArgumentException if the key is not present in the Msg (can return null for a primitive type). UseaKey - an unsigned int.Float getAsNullableFloat(int aKey)
aKey - an unsigned int.double getAsDouble(int aKey)
getAsDouble.
Can throw new IllegalArgumentException if the key is not present in the Msg (can return null for a primitive type). UseaKey - an unsigned int.Double getAsNullableDouble(int aKey)
aKey - an unsigned int.String getAsString(int aKey)
getAsString.
aKey - an unsigned int.String object.void getAsMsg(int aKey,
Msg destMsg)
getAsMsg.
aKey - an unsigned int.boolean[] getAsBooleans(int aKey)
getAsBooleans.
aKey - an unsigned int.Boolean[] getAsNullableBooleans(int aKey)
aKey - an unsigned int.byte[] getAsBytes(int aKey)
getAsBytes.
aKey - an unsigned int.Byte[] getAsNullableBytes(int aKey)
aKey - an unsigned int.short[] getAsShorts(int aKey)
getAsShorts.
aKey - an unsigned int.Short[] getAsNullableShorts(int aKey)
aKey - an unsigned int.int[] getAsInts(int aKey)
getAsInts.
aKey - an unsigned int.Integer[] getAsNullableIntegers(int aKey)
aKey - an unsigned int.long[] getAsLongs(int aKey)
getAsLongs.
aKey - an unsigned int.Long[] getAsNullableLongs(int aKey)
aKey - an unsigned int.float[] getAsFloats(int aKey)
getAsFloats.
aKey - an unsigned int.Float[] getAsNullableFloats(int aKey)
aKey - an unsigned int.double[] getAsDoubles(int aKey)
getAsDoubles.
aKey - an unsigned int.Double[] getAsNullableDoubles(int aKey)
aKey - an unsigned int.String[] getAsStrings(int aKey)
getAsStrings.
aKey - an unsigned int.Msg[] getAsMsgs(int aKey)
getAsMsgs.
aKey - an unsigned int.void getAsMsgs(int aKey,
Msg... destMsgs)
aKey - an unsigned int.destMsgs - Object[] getAsObjects(int aKey)
getAsObjects.
aKey - an unsigned int.Msg getAllAsMsg()
Object[] getAllAsObjects()
void getAllAsObjects(Object... aObjects)
void set(int aKey,
Null aNull)
aKey - an unsigned int.void set(int aKey,
Object anObject)
set.
aKey - an unsigned int.anObject - void set(int aKey,
Object aObject,
boolean optimizeLength)
aKey - aObject - optimizeLength - void set(int aKey,
boolean aBoolean)
set.
aKey - an unsigned int.aBoolean - a aBoolean.void set(int aKey,
Boolean aBoolean)
aKey - an unsigned int.aBoolean - void set(int aKey,
Boolean aBoolean,
boolean optimizeLength)
aKey - an unsigned int.aBoolean - void set(int aKey,
byte aByte)
set.
aKey - an unsigned int.aByte - a byte.void set(int aKey,
Byte aByte)
set.
aKey - an unsigned int.aByte - a byte.void set(int aKey,
Byte aByte,
boolean optimizeLength)
set.
aKey - an unsigned int.aByte - a byte.void set(int aKey,
short aShort)
set.
aKey - an unsigned int.aShort - a short.void set(int aKey,
short aShort,
boolean optimizeLength)
set.
aKey - an unsigned int.aShort - a short.void set(int aKey,
Short aShort)
set.
aKey - an unsigned int.aShort - a short.void set(int aKey,
Short aShort,
boolean optimizeLength)
set.
aKey - an unsigned int.aShort - a short.void set(int aKey,
int aInt)
set.
aKey - an unsigned int.aInt - a int.void set(int aKey,
int aInt,
boolean optimizeLength)
set.
aKey - an unsigned int.aInt - a int.void set(int aKey,
Integer aInt)
set.
aKey - an unsigned int.aInt - a int.void set(int aKey,
Integer aInt,
boolean optimizeLength)
set.
aKey - an unsigned int.aInt - a int.void set(int aKey,
long aLong)
set.
aKey - an unsigned int.aLong - a long.void set(int aKey,
long aLong,
boolean optimizeLength)
set.
aKey - an unsigned int.aLong - a long.void set(int aKey,
Long aLong)
set.
aKey - an unsigned int.aLong - a long.void set(int aKey,
Long aLong,
boolean optimizeLength)
set.
aKey - an unsigned int.aLong - a long.void set(int aKey,
float aFloat)
set.
aKey - an unsigned int.aFloat - a float.void set(int aKey,
Float aFloat)
set.
aKey - an unsigned int.aFloat - a float.void set(int aKey,
Float aFloat,
boolean optimizeLength)
set.
aKey - an unsigned int.aFloat - a float.void set(int aKey,
double aDouble)
set.
aKey - an unsigned int.aDouble - a double.void set(int aKey,
double aDouble,
boolean optimizeLength)
set.
aKey - an unsigned int.aDouble - a double.void set(int aKey,
Double aDouble)
set.
aKey - an unsigned int.aDouble - a double.void set(int aKey,
Double aDouble,
boolean optimizeLength)
set.
aKey - an unsigned int.aDouble - a double.void set(int aKey,
double aDouble,
int aScale)
set.
aKey - an unsigned int.aDouble - a double.aScale - a int.void set(int aKey,
Double aDouble,
int aScale)
set.
aKey - an unsigned int.aDouble - a double.aScale - a int.void set(int aKey,
Double aDouble,
int aScale,
boolean optimizeLength)
set.
aKey - an unsigned int.aDouble - a double.aScale - a int.void set(int aKey,
String aString)
set.
aKey - an unsigned int.aString - a String object.void set(int aKey,
String aString,
boolean forceAsciiEncoding)
set.
aKey - an unsigned int.aString - a String object.void set(int aKey,
boolean... aBooleans)
set.
aKey - an unsigned int.anArray - a boolean[]void set(int aKey,
Boolean... aBooleans)
set.
aKey - an unsigned int.anArray - a boolean[]void set(int aKey,
byte... aBytes)
set.
aKey - an unsigned int.anArray - a byte[]void set(int aKey,
Byte... aBytes)
set.
aKey - an unsigned int.anArray - a byte[]void set(int aKey,
short... aShorts)
set.
aKey - an unsigned int.anArray - a short[]void set(int aKey,
Short... aShorts)
set.
aKey - an unsigned int.anArray - a short[]void set(int aKey,
int... aInts)
set.
aKey - an unsigned int.anArray - a int[]void set(int aKey,
Integer... aInts)
set.
aKey - an unsigned int.anArray - a int[]void set(int aKey,
long... aLongs)
set.
aKey - an unsigned int.anArray - a long[]void set(int aKey,
Long... aLongs)
set.
aKey - an unsigned int.anArray - a long[]void set(int aKey,
float... aFloats)
set.
aKey - an unsigned int.anArray - a float[]void set(int aKey,
Float... aFloats)
set.
aKey - an unsigned int.anArray - a float[]void set(int aKey,
double... aDoubles)
set.
aKey - an unsigned int.anArray - a double[]void set(int aKey,
Double... aDoubles)
set.
aKey - an unsigned int.anArray - a double[]void set(int aKey,
String... aStrings)
set.
aKey - an unsigned int.anArray - a string[]void set(int aKey,
String[] aStrings,
boolean forceAsciiEncoding)
set.
aKey - an unsigned int.anArray - a string[]void set(int aKey,
Msg... aMsgs)
set.
aKey - an unsigned int.anArray - a IMsg[]void setAll(Object... anObjects)
anObjects - void remove(int... aKeys)
remove.
aKey - an unsigned int...void removeAll()
removeAll.
Copyright © 2012-2014 hermod. All Rights Reserved.