/** * Returns the key of the value at the given <code>index</code>. * * @param index the item index (zero-based) * @return the key * * @throws IndexOutOfBoundsException if <code>index</code> is out of bounds */ @Override public Comparable getKey(int index) { return this.keyList.get(index); }
/** * Returns the key of the value at the given <code>index</code>. * * @param index the item index (zero-based) * @return the key * * @throws IndexOutOfBoundsException if <code>index</code> is out of bounds */ public Comparable getKey(int index) { return this.keyList.get(index); }
/** * Returns the key of the value at the given <code>index</code>. * * @param index the item index (zero-based) * @return the key * * @throws IndexOutOfBoundsException if <code>index</code> is out of bounds */ public Comparable getKey(int index) { return this.keyList.get(index); }
/** * Returns the value at the given <code>index</code>. * * @param index the index of interest (zero-based index). * @return the value */ public Number getValue(int index) { return this.valueList.get(index); }
/** * Returns the value at the given <code>index</code>. * * @param index the index of interest (zero-based index). * @return the value */ public Number getValue(int index) { return this.valueList.get(index); }
/** * Returns the value at the given <code>index</code>. * * @param index the index of interest (zero-based index). * @return the value */ @Override public Number getValue(int index) { return this.valueList.get(index); }
@Override public Comparable getRowKey(int row) { return rowKeys.get(row); } @Override
public Comparable getRowKey(int row) { return rowKeys.get(row); } public int getRowIndex(Comparable key) { return rowKeys.indexOf(key); }
public Comparable getRowKey(int row) { return rowKeys.get(row); } public int getRowIndex(Comparable key) { return rowKeys.indexOf(key); }
/** {@inheritDoc} */ @Override public E remove(int index) { final E removed = get(index); source.remove(index); return removed; }
/** {@inheritDoc} */ @Override public E remove(int index) { final E removed = get(index); source.remove(index); return removed; }
/** {@inheritDoc} */ @Override public E remove(int index) { final E removed = get(index); source.remove(index); return removed; }
/** {@inheritDoc} */ @Override public E set(int index, E value) { final E updated = get(index); source.set(index, reverse(value)); return updated; }
/** {@inheritDoc} */ @Override public E set(int index, E value) { final E updated = get(index); source.set(index, reverse(value)); return updated; }
/** {@inheritDoc} */ @Override public E set(int index, E value) { final E updated = get(index); source.set(index, reverse(value)); return updated; }
final E oldValueTransformed = get(changeIndex); final S newValue = source.get(changeIndex); final E newValueTransformed = forward(oldValueTransformed, newValue);
final E oldValueTransformed = get(changeIndex); final S newValue = source.get(changeIndex); final E newValueTransformed = forward(oldValueTransformed, newValue);
final E oldValueTransformed = get(changeIndex); final S newValue = source.get(changeIndex); final E newValueTransformed = forward(oldValueTransformed, newValue);