org.metasyntactic.utilities
Class ComparatorUtilities

java.lang.Object
  |
  +--org.metasyntactic.utilities.ComparatorUtilities

public class ComparatorUtilities
extends java.lang.Object


Field Summary
static java.util.Comparator COMPARATOR
           
static java.util.Comparator REVERSE_COMPARATOR
           
 
Method Summary
static java.util.Comparator comparator()
           
static void main(java.lang.String[] args)
           
static java.util.Comparator reverse(java.util.Comparator comp)
           
static java.util.Comparator reverseComparator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVERSE_COMPARATOR

public static java.util.Comparator REVERSE_COMPARATOR

COMPARATOR

public static java.util.Comparator COMPARATOR
Method Detail

comparator

public static java.util.Comparator comparator()

reverse

public static java.util.Comparator reverse(java.util.Comparator comp)

reverseComparator

public static java.util.Comparator reverseComparator()

main

public static void main(java.lang.String[] args)