org.relayirc.util
Class ComparableString

java.lang.Object
  |
  +--org.relayirc.util.ComparableString
All Implemented Interfaces:
IComparable

public class ComparableString
extends java.lang.Object
implements IComparable

Sortable string that implements IComparable.

See Also:
IComparable

Constructor Summary
ComparableString(java.lang.String str)
           
 
Method Summary
 int compareTo(IComparable other)
          Compare to other object.
 java.lang.String getString()
           
 void setString(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComparableString

public ComparableString(java.lang.String str)
Method Detail

compareTo

public int compareTo(IComparable other)
Description copied from interface: IComparable
Compare to other object. Works like String.compareTo()
Specified by:
compareTo in interface IComparable

getString

public java.lang.String getString()

setString

public void setString(java.lang.String str)