collections.sortable
Class Cshort
java.lang.Object
collections.sortable.Cshort
- All Implemented Interfaces:
- Comparable2
public class Cshort
- extends java.lang.Object
- implements Comparable2
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Cshort
public Cshort(short a)
Cshort
public Cshort(int a)
getValue
public short getValue()
setValue
public void setValue(short a)
setValue
public void setValue(int a)
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals in interface Comparable2- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Comparable2- Overrides:
hashCode 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