Back to index

wims  3.65+svn20090927
SortString.java
Go to the documentation of this file.
00001 package rene.util.sort;
00002 
00003 public class SortString implements SortObject
00004 {      String S;
00005        public SortString (String s)
00006        {      S=s;
00007        }
00008        public int compare (SortObject o)
00009        {      SortString s=(SortString)o;
00010               return S.compareTo(s.S);
00011        }
00012        public String toString ()
00013        {      return S;
00014        }
00015 }