public V get(int index) { index += lowerBound; if (outOfBounds(index)) throw new NoSuchElementException(); return super.get(index); }
public V get(int index) { index += lowerBound; if (outOfBounds(index)) throw new NoSuchElementException(); return super.get(index); }
public V get(int index) { index += lowerBound; if (outOfBounds(index)) throw new NoSuchElementException(); return super.get(index); }
public int indexOf(Object item) { int i = super.indexOf(item); boolean negate = i < 0; if (negate) i = -1 - i; if (outOfBounds(i)) return i < lowerBound ? -1 : -1 - size(); i = i - lowerBound; if (negate) i = -1 -i; return i; }
public int indexOf(Object item) { int i = super.indexOf(item); boolean negate = i < 0; if (negate) i = -1 - i; if (outOfBounds(i)) return i < lowerBound ? -1 : -1 - size(); i = i - lowerBound; if (negate) i = -1 -i; return i; }
public V get(int index) { index += lowerBound; if (outOfBounds(index)) throw new NoSuchElementException(); return super.get(index); }
private V maybe(int i) { if (outOfBounds(i)) return null; return super.get(i); }
private V maybe(int i) { if (outOfBounds(i)) return null; return super.get(i); }
public int indexOf(Object item) { int i = super.indexOf(item); boolean negate = i < 0; if (negate) i = -1 - i; if (outOfBounds(i)) return i < lowerBound ? -1 : -1 - size(); i = i - lowerBound; if (negate) i = -1 -i; return i; }
private V maybe(int i) { if (outOfBounds(i)) return null; return super.get(i); }
public int indexOf(Object item) { int i = super.indexOf(item); boolean negate = i < 0; if (negate) i = -1 - i; if (outOfBounds(i)) return i < lowerBound ? -1 : -1 - size(); i = i - lowerBound; if (negate) i = -1 -i; return i; }
private V maybe(int i) { if (outOfBounds(i)) return null; return super.get(i); }