Example usage for Java android.content ContentValues fields, constructors, methods, implement or subclass
The text is from its open source code.
Parcelable.Creator | CREATOR |
ContentValues() Creates an empty set of values using the default initial size | |
ContentValues(int size) Creates an empty set of values using the given initial size | |
ContentValues(ContentValues from) Creates a set of values copied from the given set | |
ContentValues(HashMap | |
ContentValues(Parcel in) |
void | clear() Removes all values. |
boolean | containsKey(String key) Returns true if this object has the named value. |
Object | get(String key) Gets a value. |
Boolean | getAsBoolean(String key) Gets a value and converts it to a Boolean. |
Byte | getAsByte(String key) Gets a value and converts it to a Byte. |
byte[] | getAsByteArray(String key) Gets a value that is a byte array. |
Double | getAsDouble(String key) Gets a value and converts it to a Double. |
Float | getAsFloat(String key) Gets a value and converts it to a Float. |
Integer | getAsInteger(String key) Gets a value and converts it to an Integer. |
Long | getAsLong(String key) Gets a value and converts it to a Long. |
String | getAsString(String key) Gets a value and converts it to a String. |
Set | keySet() Returns a set of all of the keys |
void | put(String key, String value) Adds a value to the set. |
void | put(String key, Byte value) Adds a value to the set. |
void | put(String key, Short value) Adds a value to the set. |
void | put(String key, Integer value) Adds a value to the set. |
void | put(String key, Long value) Adds a value to the set. |
void | put(String key, Float value) Adds a value to the set. |
void | put(String key, Double value) Adds a value to the set. |
void | put(String key, Boolean value) Adds a value to the set. |
void | put(String key, byte[] value) Adds a value to the set. |
void | putAll(ContentValues other) Adds all values from the passed in ContentValues. |
void | putNull(String key) Adds a null value to the set. |
void | remove(String key) Remove a single value. |
int | size() Returns the number of values. |
String | toString() Returns a string containing a concise, human-readable description of this object. |
Set | valueSet() Returns a set of all of the keys and values |
void | writeToParcel(Parcel parcel, int flags) |