- All Implemented Interfaces:
- EfficientSubstep
- Direct Known Subclasses:
- StepsDoubleLikeGapped, StepsIntLikeGapped, StepsLikeGapped, StepsLongLikeGapped
public abstract class AbstractStepsLikeGapped<Sub,Semi extends Sub>
extends java.lang.Object
implements EfficientSubstep
Abstracts all the generic operations of stepping over a backing array
for some collection where the elements are stored generically and some
may be missing. Subclasses should set currentEntry
to null
when it
is used as a signal to look for more entries in the array. (This also
allows a subclass to traverse a sublist by updating currentEntry
.)