collections.sortable
Class Cshort

java.lang.Object
  extended by collections.sortable.Cshort
All Implemented Interfaces:
Comparable2

public class Cshort
extends java.lang.Object
implements Comparable2


Constructor Summary
Cshort(int a)
           
Cshort(short a)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 short getValue()
           
 int hashCode()
           
 boolean isGreater(java.lang.Object other)
           
 boolean isLess(java.lang.Object other)
           
 void setValue(int a)
           
 void setValue(short a)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cshort

public Cshort(short a)

Cshort

public Cshort(int a)
Method Detail

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