org.gnu.jcifs
Class ShareInfoComparator

java.lang.Object
  |
  +--org.gnu.jcifs.ShareInfoComparator
All Implemented Interfaces:
Comparator

class ShareInfoComparator
extends java.lang.Object
implements Comparator


Field Summary
(package private)  java.text.Collator fCollator
           
 
Constructor Summary
(package private) ShareInfoComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compare to another comparable object.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fCollator

java.text.Collator fCollator
Constructor Detail

ShareInfoComparator

ShareInfoComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Description copied from interface: Comparator
Compare to another comparable object. If return value is negative, then we're less than object. If return value is zero, then we're equal to object. If return value is positive, then we're greater than object. Feel free to throw a RunTimeException of some sort if object is not of the same class.
Specified by:
compare in interface Comparator