lapisx.sort
Class StringSortableList
java.lang.Object
lapisx.sort.StringSortableList
- All Implemented Interfaces:
- SortableList
- public class StringSortableList
- extends Object
- implements SortableList
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringSortableList
public StringSortableList(String value,
SortableList nextPtr)
get
public Object get()
- Specified by:
get
in interface SortableList
next
public SortableList next()
- Specified by:
next
in interface SortableList
setNext
public void setNext(SortableList l)
- Specified by:
setNext
in interface SortableList
compareTo
public int compareTo(SortableList l)
- Specified by:
compareTo
in interface SortableList
dump
public void dump()
make
public static StringSortableList make(String[] words)