| |
|
| java.lang.Object org.apache.commons.collections.LocalTestNode
LocalTestNode | class LocalTestNode implements Comparable(Code) | | Class LocalTestNode
a helper class for TestDoubleOrderedMap
author: Marc Johnson (marcj at users dot sourceforge dot net) |
LocalTestNode | LocalTestNode(int key)(Code) | | construct a LocalTestNode
Parameters: key - value used to create the key and value |
compareTo | public int compareTo(Object o)(Code) | | Method compareTo
Parameters: o - int |
equals | public boolean equals(Object o)(Code) | | Method equals
Parameters: o - true if equal |
getKey | Comparable getKey()(Code) | | the unique key associated with the current node |
getValue | Comparable getValue()(Code) | | the unique value associated with the current node |
hashCode | public int hashCode()(Code) | | hash code |
setKey | void setKey(Comparable key)(Code) | | Parameters: key - the unique key associated with the current node. |
setValue | void setValue(Comparable value)(Code) | | Parameters: value - the unique value associated with the current node. |
|
|
|