@Test(expected = NoSuchElementException.class) public void badGet() { seq.get(10); }
@Override public int get(int n) { if (n < 0 || n >= size()) throw new NoSuchElementException("index " + n + " out of bounds [0.." + size() + ")"); return end - 1 - n; }
ReverseSequence implements Sequence { @Override public int get(int n) { if (n < 0 || n >= size()) throw new NoSuchElementException("index " + n + " out of bounds [0.." + size() + ")"); return end - 1 - n; } }
ReverseSequence implements Sequence { @Override public int get(int n) { if (n < 0 || n >= size()) throw new NoSuchElementException("index " + n + " out of bounds [0.." + size() + ")"); return end - 1 - n; }  }
ReverseSequence implements Sequence { @Override public int get(int n) { if (n < 0 || n >= size()) throw new NoSuchElementException("index " + n + " out of bounds [0.." + size() + ")"); return end - 1 - n; }  @Override Comparator<C> getComparator(); @Override int get(int n); @Override ReverseSequence limit(int n); @Override ReverseSequence skip(int n); @Override Spliterator.OfInt spliterator(); @Override Iterator<Integer> iterator(); @Override IntStream stream(); @Override IntStream parallelStream(); @Override Sequence reverse(); @Override int size(); }
ReverseSequence implements Sequence { @Override public int get(int n) { if (n < 0 || n >= size()) throw new NoSuchElementException("index " + n + " out of bounds [0.." + size() + ")"); return end - 1 - n; }  @Override Comparator<C> getComparator(); @Override int get(int n); @Override ReverseSequence limit(int n); @Override ReverseSequence skip(int n); @Override Spliterator.OfInt spliterator(); @Override Iterator<Integer> iterator(); @Override IntStream stream(); @Override IntStream parallelStream(); @Override Sequence reverse(); @Override int size(); static int SPLITERATOR_CHARACTERISTICS; }