/**@class android.os.BaseBundle @extends java.lang.Object A mapping from String values to various types. */ var BaseBundle = { /**TODO: optimize this later (getting just the value part of a Bundle with a single pair) once Bundle.forPair() above is implemented with a special single-value Map implementation/serialization. Note: value in single-pair Bundle may be null. @hide */ getPairValue : function( ) {}, /** @hide */ isParcelled : function( ) {}, /**Returns the number of mappings contained in this Bundle. @return {Number} the number of mappings as an int. */ size : function( ) {}, /**Returns true if the mapping of this Bundle is empty, false otherwise. */ isEmpty : function( ) {}, /**Removes all elements from the mapping of this Bundle. */ clear : function( ) {}, /**Returns true if the given key is contained in the mapping of this Bundle. @param {String} key a String key @return {Boolean} true if the key is part of the mapping, false otherwise */ containsKey : function( ) {}, /**Returns the entry with the given key as an object. @param {String} key a String key @return {Object {java.lang.Object}} an Object, or null */ get : function( ) {}, /**Removes any entry with the given key from the mapping of this Bundle. @param {String} key a String key */ remove : function( ) {}, /**Inserts all mappings from the given PersistableBundle into this BaseBundle. @param {Object {PersistableBundle}} bundle a PersistableBundle */ putAll : function( ) {}, /**Returns a Set containing the Strings used as keys in this Bundle. @return {Object {java.util.Set}} a Set of String keys */ keySet : function( ) {}, /**Inserts a Boolean value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null. @param {String} key a String, or null @param {Boolean} value a boolean */ putBoolean : function( ) {}, /**Inserts an int value into the mapping of this Bundle, replacing any existing value for the given key. @param {String} key a String, or null @param {Number} value an int */ putInt : function( ) {}, /**Inserts a long value into the mapping of this Bundle, replacing any existing value for the given key. @param {String} key a String, or null @param {Number} value a long */ putLong : function( ) {}, /**Inserts a double value into the mapping of this Bundle, replacing any existing value for the given key. @param {String} key a String, or null @param {Number} value a double */ putDouble : function( ) {}, /**Inserts a String value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null. @param {String} key a String, or null @param {String} value a String, or null */ putString : function( ) {}, /**Inserts a boolean array value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null. @param {String} key a String, or null @param {Object {boolean[]}} value a boolean array object, or null */ putBooleanArray : function( ) {}, /**Inserts an int array value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null. @param {String} key a String, or null @param {Object {int[]}} value an int array object, or null */ putIntArray : function( ) {}, /**Inserts a long array value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null. @param {String} key a String, or null @param {Object {long[]}} value a long array object, or null */ putLongArray : function( ) {}, /**Inserts a double array value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null. @param {String} key a String, or null @param {Object {double[]}} value a double array object, or null */ putDoubleArray : function( ) {}, /**Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null. @param {String} key a String, or null @param {Object {java.lang.String[]}} value a String array object, or null */ putStringArray : function( ) {}, /**Returns the value associated with the given key, or false if no mapping of the desired type exists for the given key. @param {String} key a String @return {Boolean} a boolean value */ getBoolean : function( ) {}, /**Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. @param {String} key a String @param {Boolean} defaultValue Value to return if key does not exist @return {Boolean} a boolean value */ getBoolean : function( ) {}, /**Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. @param {String} key a String @return {Number} an int value */ getInt : function( ) {}, /**Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. @param {String} key a String @param {Number} defaultValue Value to return if key does not exist @return {Number} an int value */ getInt : function( ) {}, /**Returns the value associated with the given key, or 0L if no mapping of the desired type exists for the given key. @param {String} key a String @return {Number} a long value */ getLong : function( ) {}, /**Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. @param {String} key a String @param {Number} defaultValue Value to return if key does not exist @return {Number} a long value */ getLong : function( ) {}, /**Returns the value associated with the given key, or 0.0 if no mapping of the desired type exists for the given key. @param {String} key a String @return {Number} a double value */ getDouble : function( ) {}, /**Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. @param {String} key a String @param {Number} defaultValue Value to return if key does not exist @return {Number} a double value */ getDouble : function( ) {}, /**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. @param {String} key a String, or null @return {String} a String value, or null */ getString : function( ) {}, /**Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key or if a null value is explicitly associated with the given key. @param {String} key a String, or null @param {String} defaultValue Value to return if key does not exist or if a null value is associated with the given key. @return {String} the String value associated with the given key, or defaultValue if no valid String object is currently mapped to that key. */ getString : function( ) {}, /**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. @param {String} key a String, or null @return {Boolean} a boolean[] value, or null */ getBooleanArray : function( ) {}, /**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. @param {String} key a String, or null @return {Number} an int[] value, or null */ getIntArray : function( ) {}, /**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. @param {String} key a String, or null @return {Number} a long[] value, or null */ getLongArray : function( ) {}, /**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. @param {String} key a String, or null @return {Number} a double[] value, or null */ getDoubleArray : function( ) {}, /**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. @param {String} key a String, or null @return {String} a String[] value, or null */ getStringArray : function( ) {}, };