android.content
Class ContentValues

java.lang.Object
  extended by android.content.ContentValues
All Implemented Interfaces:
Parcelable

public final class ContentValues
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<ContentValues> CREATOR
           
static String TAG
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
ContentValues()
           
ContentValues(ContentValues from)
           
ContentValues(int size)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG

public static final String TAG
See Also:
Constant Field Values

CREATOR

public static final Parcelable.Creator<ContentValues> CREATOR
Constructor Detail

ContentValues

public ContentValues()

ContentValues

public ContentValues(int size)

ContentValues

public ContentValues(ContentValues from)
Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

put

public void put(String key,
                String value)

putAll

public void putAll(ContentValues other)

put

public void put(String key,
                Byte value)

put

public void put(String key,
                Short value)

put

public void put(String key,
                Integer value)

put

public void put(String key,
                Long value)

put

public void put(String key,
                Float value)

put

public void put(String key,
                Double value)

put

public void put(String key,
                Boolean value)

put

public void put(String key,
                byte[] value)

putNull

public void putNull(String key)

size

public int size()

remove

public void remove(String key)

clear

public void clear()

containsKey

public boolean containsKey(String key)

get

public Object get(String key)

getAsString

public String getAsString(String key)

getAsLong

public Long getAsLong(String key)

getAsInteger

public Integer getAsInteger(String key)

getAsShort

public Short getAsShort(String key)

getAsByte

public Byte getAsByte(String key)

getAsDouble

public Double getAsDouble(String key)

getAsFloat

public Float getAsFloat(String key)

getAsBoolean

public Boolean getAsBoolean(String key)

getAsByteArray

public byte[] getAsByteArray(String key)

valueSet

public Set<Map.Entry<String,Object>> valueSet()

keySet

public Set<String> keySet()

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel parcel,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.