Lines Matching defs:index
91 * Removes the mapping at the specified index.
93 public void removeAt(int index) {
94 if (mValues[index] != DELETED) {
95 mValues[index] = DELETED;
103 * @param index Index to begin at
106 public void removeAtRange(int index, int size) {
107 final int end = Math.min(mSize, index + size);
108 for (int i = index; i < end; i++) {
205 * Given an index in the range <code>0...size()-1</code>, returns
206 * the key from the <code>index</code>th key-value mapping that this
209 public int keyAt(int index) {
214 return mKeys[index];
218 * Given an index in the range <code>0...size()-1</code>, returns
219 * the value from the <code>index</code>th key-value mapping that this
222 public E valueAt(int index) {
227 return (E) mValues[index];
231 * Given an index in the range <code>0...size()-1</code>, sets a new
232 * value for the <code>index</code>th key-value mapping that this
235 public void setValueAt(int index, E value) {
240 mValues[index] = value;
244 * Returns the index for which {@link #keyAt} would return the
257 * Returns an index for which {@link #valueAt} would return the