Home » openjdk-7 » java » util » [javadoc | source]
java.util
class: Comparators [javadoc | source]
java.lang.Object
   java.util.Comparators
Method from java.util.Comparators Summary:
natural
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.Comparators Detail:
 public static Comparator<T> natural() 
    Returns the natural Comparator.

    Example:

    Comparator<String> compareString = Comparators.natural()