Interface FlatLists.ComparableList<T>

Type Parameters:
T - element type
All Superinterfaces:
Collection<T>, Comparable<List>, Iterable<T>, List<T>
All Known Implementing Classes:
FlatLists.Flat1List, FlatLists.Flat2List, FlatLists.Flat3List, FlatLists.Flat4List, FlatLists.Flat5List, FlatLists.Flat6List
Enclosing class:

public static interface FlatLists.ComparableList<T> extends List<T>, Comparable<List>
List that is also comparable.

You can create an instance whose type parameter T does not extend Comparable, but you will get a ClassCastException at runtime when you call Comparable.compareTo(Object) if the elements of the list do not implement Comparable.