Lines Matching refs:index
112 * Removes the mapping at the specified index.
114 public void removeAt(int index) {
115 if (mValues[index] != DELETED) {
116 mValues[index] = DELETED;
223 * Given an index in the range <code>0...size()-1</code>, returns
224 * the key from the <code>index</code>th key-value mapping that this
227 public int keyAt(int index) {
232 return mKeys[index];
236 * Given an index in the range <code>0...size()-1</code>, returns
237 * the value from the <code>index</code>th key-value mapping that this
240 public E valueAt(int index) {
245 return (E) mValues[index].get();
249 * Given an index in the range <code>0...size()-1</code>, sets a new
250 * value for the <code>index</code>th key-value mapping that this
253 public void setValueAt(int index, E value) {
258 mValues[index] = new WeakReference(value);
262 * Returns the index for which {@link #keyAt} would return the
275 * Returns an index for which {@link #valueAt} would return the