/** make a new iterator, which is us then the other chap. */ @Override public <X extends T> ExtendedIterator<T> andThen( Iterator<X> other ) { return andThen( this, other ); }
@SuppressWarnings("unchecked") @Override public <X extends T> ExtendedIterator<T> andThen( Iterator<X> it ) { return it instanceof ExtendedIterator ? (ExtendedIterator<T>) it : super.andThen( it ) ; } }
@Override public <X extends Triple> ExtendedIterator<Triple> andThen(Iterator<X> other) { return NiceIterator.<Triple>andThen(this, other); }