collections.sortable
Class Cint
java.lang.Object
collections.sortable.Cint
- All Implemented Interfaces:
- Comparable2
public class Cint
- extends java.lang.Object
- implements Comparable2
Constructor Summary |
Cint(int a)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Cint
public Cint(int a)
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interface Comparable2
- Overrides:
equals
in class java.lang.Object
isLess
public boolean isLess(java.lang.Object other)
- Specified by:
isLess
in interface Comparable2
isGreater
public boolean isGreater(java.lang.Object other)
- Specified by:
isGreater
in interface Comparable2
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Comparable2
- Overrides:
hashCode
in class java.lang.Object
getValue
public int getValue()
setValue
public void setValue(int value)