Package net.infonode.util
Class IntList
java.lang.Object
net.infonode.util.IntList
A single linked list of positive int's.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_LIST
The empty list.
-
-
Constructor Details
-
IntList
Constructor.- Parameters:
value
- the int valuenext
- the next list element
-
-
Method Details
-
getValue
public int getValue()- Returns:
-
getNext
-
isEmpty
public boolean isEmpty() -
equals
-
equals
-
hashCode
public int hashCode() -
write
- Throws:
IOException
-
decode
- Throws:
IOException
-
toString
-