public final class ContentValues extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<ContentValues> |
CREATOR |
static String |
TAG |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
ContentValues() |
ContentValues(ContentValues from) |
ContentValues(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(String key) |
int |
describeContents() |
boolean |
equals(Object object) |
Object |
get(String key) |
Boolean |
getAsBoolean(String key) |
Byte |
getAsByte(String key) |
byte[] |
getAsByteArray(String key) |
Double |
getAsDouble(String key) |
Float |
getAsFloat(String key) |
Integer |
getAsInteger(String key) |
Long |
getAsLong(String key) |
Short |
getAsShort(String key) |
String |
getAsString(String key) |
int |
hashCode() |
Set<String> |
keySet() |
void |
put(String key,
Boolean value) |
void |
put(String key,
Byte value) |
void |
put(String key,
byte[] value) |
void |
put(String key,
Double value) |
void |
put(String key,
Float value) |
void |
put(String key,
Integer value) |
void |
put(String key,
Long value) |
void |
put(String key,
Short value) |
void |
put(String key,
String value) |
void |
putAll(ContentValues other) |
void |
putNull(String key) |
void |
remove(String key) |
int |
size() |
String |
toString() |
Set<Map.Entry<String,Object>> |
valueSet() |
void |
writeToParcel(Parcel parcel,
int flags) |
public static final String TAG
public static final Parcelable.Creator<ContentValues> CREATOR
public ContentValues()
public ContentValues(int size)
public ContentValues(ContentValues from)
public void putAll(ContentValues other)
public void put(String key, byte[] value)
public void putNull(String key)
public int size()
public void remove(String key)
public void clear()
public boolean containsKey(String key)
public byte[] getAsByteArray(String key)
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel parcel, int flags)
writeToParcel in interface ParcelableCopyright © 2008-2013. All Rights Reserved.