Lines Matching defs:value
174 * Adds a mapping from the specified key to the specified value,
178 public void put(long key, E value) {
182 mValues[i] = value;
188 mValues[i] = value;
220 mValues[i] = value;
226 * Returns the number of key-value mappings that this LongSparseArray
239 * the key from the <code>index</code>th key-value mapping that this
252 * the value from the <code>index</code>th key-value mapping that this
266 * value for the <code>index</code>th key-value mapping that this
269 public void setValueAt(int index, E value) {
274 mValues[index] = value;
293 * specified value.
295 * and that multiple keys can map to the same value and this will
298 public int indexOfValue(E value) {
304 if (mValues[i] == value)
311 * Removes all key-value mappings from this LongSparseArray.
326 * Puts a key/value pair into the array, optimizing for the case where
329 public void append(long key, E value) {
331 put(key, value);
355 mValues[pos] = value;
363 * this map contains itself as a value, the string "(this Map)"
381 Object value = valueAt(i);
382 if (value != this) {
383 buffer.append(value);