void
|
checkMissingKeyAndTypes()
Make sure that all key which is declared at this class has been set.
|
boolean
|
containsKey(String key)
This key has been set or not
|
boolean
|
equals(Object object)
Compares the specified object to this instance, and returns true
if the specified object is a PenProps and both PenProps contain the same
PenProps.
|
boolean
|
getBoolean(String key)
Returns the value associated with the given key, or false if
no mapping of the desired type exists for the given key.
|
boolean
|
getBoolean(String key, boolean defaultValue)
Returns the value associated with the given key, or defaultValue if
no mapping of the desired type exists for the given key.
|
boolean[]
|
getBooleanArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
byte
|
getByte(String key)
Returns the value associated with the given key, or (byte) 0 if
no mapping of the desired type exists for the given key.
|
Byte
|
getByte(String key, byte defaultValue)
Returns the value associated with the given key, or defaultValue if
no mapping of the desired type exists for the given key.
|
byte[]
|
getByteArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
char
|
getChar(String key)
Returns the value associated with the given key, or false if
no mapping of the desired type exists for the given key.
|
char
|
getChar(String key, char defaultValue)
Returns the value associated with the given key, or (char) 0 if
no mapping of the desired type exists for the given key.
|
char[]
|
getCharArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
double
|
getDouble(String key)
Returns the value associated with the given key, or 0.0 if
no mapping of the desired type exists for the given key.
|
double
|
getDouble(String key, double defaultValue)
Returns the value associated with the given key, or defaultValue if
no mapping of the desired type exists for the given key.
|
double[]
|
getDoubleArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
float
|
getFloat(String key)
Returns the value associated with the given key, or 0.0f if
no mapping of the desired type exists for the given key.
|
float
|
getFloat(String key, float defaultValue)
Returns the value associated with the given key, or defaultValue if
no mapping of the desired type exists for the given key.
|
float[]
|
getFloatArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
int
|
getInt(String key, int defaultValue)
Returns the value associated with the given key, or defaultValue if
no mapping of the desired type exists for the given key.
|
int
|
getInt(String key)
Returns the value associated with the given key, or 0 if
no mapping of the desired type exists for the given key.
|
int[]
|
getIntArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
long
|
getLong(String key)
Returns the value associated with the given key, or 0L if
no mapping of the desired type exists for the given key.
|
long
|
getLong(String key, long defaultValue)
Returns the value associated with the given key, or defaultValue if
no mapping of the desired type exists for the given key.
|
long[]
|
getLongArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
short
|
getShort(String key)
Returns the value associated with the given key, or (short) 0 if
no mapping of the desired type exists for the given key.
|
short
|
getShort(String key, short defaultValue)
Returns the value associated with the given key, or defaultValue if
no mapping of the desired type exists for the given key.
|
short[]
|
getShortArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
String
|
getString(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
String[]
|
getStringArray(String key)
Returns the value associated with the given key, or null if
no mapping of the desired type exists for the given key or a null
value is explicitly associated with the key.
|
void
|
put(String key, Serializable value)
Inserts a value into the mapping of this Bundle, replacing any
existing value for the given key.
|
void
|
putBoolean(String key, boolean value)
Inserts a Boolean value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putBooleanArray(String key, boolean[] value)
Inserts a boolean array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putByte(String key, byte value)
Inserts a byte value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putByteArray(String key, byte[] value)
Inserts a byte array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putChar(String key, char value)
Inserts a char value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putCharArray(String key, char[] value)
Inserts a char array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putDouble(String key, double value)
Inserts a double value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putDoubleArray(String key, double[] value)
Inserts a double array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putFloat(String key, float value)
Inserts a float value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putFloatArray(String key, float[] value)
Inserts a float array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putInt(String key, int value)
Inserts an int value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putIntArray(String key, int[] value)
Inserts an int array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putLong(String key, long value)
Inserts a long value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putLongArray(String key, long[] value)
Inserts a long array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putShort(String key, short value)
Inserts a short value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putShortArray(String key, short[] value)
Inserts a short array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putString(String key, String value)
Inserts a String value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
putStringArray(String key, String[] value)
Inserts a String array value into the mapping of this Bundle, replacing
any existing value for the given key.
|
void
|
removeIfExist(String key)
Remove specific key if exist
|
int
|
size()
Returns the number of mappings.
|
byte[]
|
toByteArray()
Transform key-value data into byte array
|