Lines Matching defs:value
167 * Adds a mapping from the specified key to the specified value,
171 public void put(int key, E value) {
175 mValues[i] = value;
181 mValues[i] = value;
213 mValues[i] = value;
219 * Returns the number of key-value mappings that this SparseArray
232 * the key from the <code>index</code>th key-value mapping that this
245 * the value from the <code>index</code>th key-value mapping that this
259 * value for the <code>index</code>th key-value mapping that this
262 public void setValueAt(int index, E value) {
267 mValues[index] = value;
286 * specified value.
288 * and that multiple keys can map to the same value and this will
293 public int indexOfValue(E value) {
299 if (mValues[i] == value)
306 * Removes all key-value mappings from this SparseArray.
321 * Puts a key/value pair into the array, optimizing for the case where
324 public void append(int key, E value) {
326 put(key, value);
350 mValues[pos] = value;
358 * this map contains itself as a value, the string "(this Map)"
376 Object value = valueAt(i);
377 if (value != this) {
378 buffer.append(value);