public class Properties
extends java.util.HashMap<java.lang.String,java.lang.Object>
implements android.os.Parcelable
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<Properties> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
|
Properties() |
|
Properties(java.util.HashMap<java.lang.String,java.lang.Object> data) |
protected |
Properties(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.Boolean |
getPropertyBoolean(java.lang.String name) |
<T extends java.util.AbstractList<java.lang.Object>> |
getPropertyList(java.lang.String name) |
java.lang.Number |
getPropertyNumber(java.lang.String name) |
java.lang.String |
getPropertyString(java.lang.String name) |
Properties |
putProperty(java.lang.String name,
java.util.AbstractList<java.lang.Object> value) |
Properties |
putProperty(java.lang.String name,
java.lang.Boolean value)
Add or replace a property value with type Boolean.
|
Properties |
putProperty(java.lang.String name,
java.lang.Number value)
Add or replace a property value with type Number.
|
Properties |
putProperty(java.lang.String name,
java.lang.Object... value) |
Properties |
putProperty(java.lang.String name,
java.lang.String value)
Add or replace a property value with type String.
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel parcel,
int i) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic static final android.os.Parcelable.Creator<Properties> CREATOR
public Properties()
public Properties(java.util.HashMap<java.lang.String,java.lang.Object> data)
protected Properties(android.os.Parcel in)
public Properties putProperty(java.lang.String name, java.lang.String value)
name - property name.value - property value or null.public Properties putProperty(java.lang.String name, java.lang.Number value)
name - property namevalue - property value or null.public Properties putProperty(java.lang.String name, java.lang.Boolean value)
name - property namevalue - property value or null.public Properties putProperty(java.lang.String name, java.lang.Object... value)
public Properties putProperty(java.lang.String name, java.util.AbstractList<java.lang.Object> value)
public java.lang.String getPropertyString(java.lang.String name)
public java.lang.Number getPropertyNumber(java.lang.String name)
public java.lang.Boolean getPropertyBoolean(java.lang.String name)
public <T extends java.util.AbstractList<java.lang.Object>> T getPropertyList(java.lang.String name)
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel parcel,
int i)
writeToParcel in interface android.os.Parcelablepublic java.lang.String toString()
toString in class java.util.AbstractMap<java.lang.String,java.lang.Object>