|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIntList
abstract class IntList
IntList ::= EmptyIntList | ConsIntList(int, IntList).
Constructor Summary | |
---|---|
IntList()
This method is automatically generated by the Language Level Converter. |
Method Summary | |
---|---|
IntList |
cons(int n)
Adds the int n to the front of this IntList. |
boolean |
equals(Object o)
This method is automatically generated by the Language Level Converter. |
int |
hashCode()
This method is automatically generated by the Language Level Converter. |
abstract IntList |
insert(int n)
Inserts n in proper order in this, assuming this is sorted in ascending order. |
abstract IntList |
sort()
Sorts this IntList into ascending (non-descending) order. |
String |
toString()
This method is automatically generated by the Language Level Converter. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IntList()
Method Detail |
---|
public abstract IntList sort()
public IntList cons(int n)
public abstract IntList insert(int n)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |