@Test(expected = IllegalArgumentException.class) public void testPreviousRejectsAnyArgumentNotInTheSequence() { sequence.previous("x"); }
@Override public T previous(T item) { return stepFrom(item, ONE_BACKWARDS); }
ListSequence implements Sequence<T> { @Override public T previous(T item) { return stepFrom(item, ONE_BACKWARDS); } }
ListSequence implements Sequence<T> { @Override public T previous(T item) { return stepFrom(item, ONE_BACKWARDS); } @SafeVarargs  ListSequence(T... items);  ListSequence(List<T> aList); }
ListSequence implements Sequence<T> { @Override public T previous(T item) { return stepFrom(item, ONE_BACKWARDS); } @SafeVarargs  ListSequence(T... items);  ListSequence(List<T> aList); @Override T previous(T item); @Override T next(T item); }
ListSequence implements Sequence<T> { @Override public T previous(T item) { return stepFrom(item, ONE_BACKWARDS); } @SafeVarargs  ListSequence(T... items);  ListSequence(List<T> aList); @Override T previous(T item); @Override T next(T item);  }