Class SmartList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
com.strobel.collections.SmartList<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>

public class SmartList<E> extends AbstractList<E>
A List that is optimised for the sizes of 0 and 1, in which cases no array is allocated.