|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<T>
com.scottlogic.util.SortedList<T>
com.scottlogic.util.NaturalSortedList<T>
T - any Comparablepublic class NaturalSortedList<T extends java.lang.Comparable<? super T>>
Provides a SortedList which sorts the elements by their
natural order.
SortedList,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.scottlogic.util.SortedList |
|---|
SortedList.Node |
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
NaturalSortedList()
Constructs a new @{code NaturalSortedList} which sorts elements according to their natural order. |
|
| Method Summary |
|---|
| Methods inherited from class com.scottlogic.util.SortedList |
|---|
add, add, clear, contains, findNodeAtIndex, get, getRoot, isEmpty, iterator, remove, remove, size, toArray, toArray |
| Methods inherited from class java.util.AbstractList |
|---|
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
addAll, containsAll, removeAll, retainAll |
| Constructor Detail |
|---|
public NaturalSortedList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||