public interface Msg
Msg interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int aKey)
contains.
|
int |
countKeys()
size.
|
Msg |
getAll()
getAll.
|
int |
getArrayLength(int key)
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.
|
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 |
getAsObject(int aKey)
get.
|
<T> T |
getAsObject(int aKey,
Class<T> clazz)
getAsObject.
|
short |
getAsShort(int aKey)
getAsShort.
|
short[] |
getAsShorts(int aKey)
getAsShorts.
|
String |
getAsString(int aKey)
getAsString.
|
String[] |
getAsStrings(int aKey)
getAsStrings.
|
int[] |
getKeys()
getKeys.
|
Type |
getType(int key)
getType.
|
byte |
getTypeAsByte(int key)
getTypeAsByte.
|
boolean |
isArray(int key)
isArray.
|
boolean |
isEmpty()
isEmpty.
|
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,
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,
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,
int nbDigit)
set.
|
void |
set(int aKey,
Double aDouble,
int nbDigit)
set.
|
void |
set(int aKey,
double aDouble,
Precision aPrecision)
set.
|
void |
set(int aKey,
Double aDouble,
Precision aPrecision)
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,
int... aInts)
set.
|
void |
set(int aKey,
int aInt)
set.
|
void |
set(int aKey,
Integer... aInts)
set.
|
void |
set(int aKey,
Integer aInt)
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,
Msg... aMsgs)
set.
|
void |
set(int aKey,
Msg aMsg)
set.
|
void |
set(int aKey,
Object anObject)
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,
String... aStrings)
set.
|
void |
set(int aKey,
String aString)
set.
|
void |
set(int aKey,
String[] aStrings,
boolean forceIso88591Charset)
set.
|
void |
set(int aKey,
String aString,
boolean forceIso88591Charset)
set.
|
void |
setAll(Msg aMsg)
setAll.
|
boolean contains(int aKey)
contains.
aKey - a int.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 - a int.@Nullable Boolean getAsNullableBoolean(int aKey)
aKey - 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 - a int.@Nullable Byte getAsNullableByte(int aKey)
aKey - 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 - a int.@Nullable Short getAsNullableShort(int aKey)
aKey - 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 - a int.defaultValue - @Nullable Integer getAsNullableInteger(int aKey)
aKey - 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 - a int.@Nullable Long getAsNullableLong(int aKey)
aKey - 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 - a int.@Nullable Float getAsNullableFloat(int aKey)
aKey - 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 - a int.@Nullable Double getAsNullableDouble(int aKey)
aKey - @Nullable String getAsString(int aKey)
getAsString.
aKey - a int.String object.void getAsMsg(int aKey,
Msg destMsg)
getAsMsg.
aKey - a int.@Nullable Object getAsObject(int aKey)
get.
aKey - a int.Object object.@Nullable
<T> T getAsObject(int aKey,
Class<T> clazz)
getAsObject.
aKey - a intclazz - Object object.boolean[] getAsBooleans(int aKey)
getAsBooleans.
aKey - @Nullable Boolean[] getAsNullableBooleans(int aKey)
aKey - byte[] getAsBytes(int aKey)
getAsBytes.
aKey - @Nullable Byte[] getAsNullableBytes(int aKey)
aKey - short[] getAsShorts(int aKey)
getAsShorts.
aKey - @Nullable Short[] getAsNullableShorts(int aKey)
aKey - int[] getAsInts(int aKey)
getAsInts.
aKey - @Nullable Integer[] getAsNullableIntegers(int aKey)
aKey - long[] getAsLongs(int aKey)
getAsLongs.
aKey - @Nullable Long[] getAsNullableLongs(int aKey)
aKey - float[] getAsFloats(int aKey)
getAsFloats.
aKey - @Nullable Float[] getAsNullableFloats(int aKey)
aKey - double[] getAsDoubles(int aKey)
getAsDoubles.
aKey - @Nullable Double[] getAsNullableDoubles(int aKey)
aKey - @Nullable String[] getAsStrings(int aKey)
getAsStrings.
aKey - @Nullable Msg[] getAsMsgs(int aKey)
getAsMsgs.
aKey - void getAsMsgs(int aKey,
@Nullable
Msg... destMsgs)
aKey - destMsgs - @NonNull Msg getAll()
@NonNull Type getType(int key)
key - byte getTypeAsByte(int key)
key - boolean isArray(int key)
key - int getArrayLength(int key)
key - int[] getKeys()
getKeys.
int countKeys()
boolean isEmpty()
void set(int aKey,
boolean aBoolean)
set.
aKey - a int.aBoolean - a aBoolean.void set(int aKey,
@Nullable
Boolean aBoolean)
aKey - aBoolean - void set(int aKey,
byte aByte)
set.
aKey - a int.aByte - a byte.void set(int aKey,
@Nullable
Byte aByte)
set.
aKey - a int.aByte - a byte.void set(int aKey,
short aShort)
set.
aKey - a int.aShort - a short.void set(int aKey,
@Nullable
Short aShort)
set.
aKey - a int.aShort - a short.void set(int aKey,
int aInt)
set.
aKey - a int.aInt - a int.void set(int aKey,
@Nullable
Integer aInt)
set.
aKey - a int.aInt - a int.void set(int aKey,
long aLong)
set.
aKey - a int.aLong - a long.void set(int aKey,
@Nullable
Long aLong)
set.
aKey - a int.aLong - a long.void set(int aKey,
float aFloat)
set.
aKey - a int.aFloat - a float.void set(int aKey,
@Nullable
Float aFloat)
set.
aKey - a int.aFloat - a float.void set(int aKey,
double aDouble)
set.
aKey - a int.aDouble - a double.void set(int aKey,
@Nullable
Double aDouble)
set.
aKey - a int.aDouble - a double.void set(int aKey,
double aDouble,
int nbDigit)
set.
aKey - a int.aDouble - a double.nbDigit - a int.void set(int aKey,
double aDouble,
@NonNull
Precision aPrecision)
aKey - aDouble - aPrecision - void set(int aKey,
@Nullable
Double aDouble,
int nbDigit)
set.
aKey - a int.aDouble - a double.nbDigit - a int.void set(int aKey,
@Nullable
Double aDouble,
@NonNull
Precision aPrecision)
aKey - aDouble - aPrecision - void set(int aKey,
@Nullable
String aString)
set.
aKey - a int.aString - a String object.void set(int aKey,
@Nullable
String aString,
boolean forceIso88591Charset)
aKey - aString - forceIso88591Charset - void set(int aKey,
@Nullable
Object anObject)
set.
aKey - anObject - void set(int aKey,
@Nullable
boolean... aBooleans)
set.
aKey - a int.anArray - a boolean[]void set(int aKey,
@Nullable
Boolean... aBooleans)
set.
aKey - a int.anArray - a boolean[]void set(int aKey,
@Nullable
byte... aBytes)
set.
aKey - a int.anArray - a byte[]void set(int aKey,
@Nullable
Byte... aBytes)
set.
aKey - a int.anArray - a byte[]void set(int aKey,
@Nullable
short... aShorts)
set.
aKey - a int.anArray - a short[]void set(int aKey,
@Nullable
Short... aShorts)
set.
aKey - a int.anArray - a short[]void set(int aKey,
@Nullable
int... aInts)
set.
aKey - a int.anArray - a int[]void set(int aKey,
@Nullable
Integer... aInts)
set.
aKey - a int.anArray - a int[]void set(int aKey,
@Nullable
long... aLongs)
set.
aKey - a int.anArray - a long[]void set(int aKey,
@Nullable
Long... aLongs)
set.
aKey - a int.anArray - a long[]void set(int aKey,
@Nullable
float... aFloats)
set.
aKey - a int.anArray - a float[]void set(int aKey,
@Nullable
Float... aFloats)
set.
aKey - a int.anArray - a float[]void set(int aKey,
@Nullable
double... aDoubles)
set.
aKey - a int.anArray - a double[]void set(int aKey,
@Nullable
Double... aDoubles)
set.
aKey - a int.anArray - a double[]void set(int aKey,
@Nullable
String... aStrings)
set.
aKey - a int.anArray - a string[]void set(int aKey,
@Nullable
String[] aStrings,
boolean forceIso88591Charset)
set.
aKey - a int.anArray - a string[]void set(int aKey,
@Nullable
Msg... aMsgs)
set.
aKey - a int.anArray - a IMsg[]void remove(@Nullable
int... aKeys)
remove.
aKey - a int.void removeAll()
removeAll.
Copyright © 2012-2013 hermod. All Rights Reserved.