Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.util
Class JiveComparators

java.lang.Object
  extended by com.jivesoftware.base.util.JiveComparators

public class JiveComparators
extends java.lang.Object

A collection of Comparators to handle sorting various objects.


Field Summary
static java.util.Comparator GROUP
          Compares two Group objects based on their group name value.
static java.util.Comparator LOCALE
          Compares two java.util.Locale objects, based on their display names.
static java.util.Comparator LOWER_STRING
          String comparator based on the toLowerCase() values of the two Strings.
static java.util.Comparator USER
          Compares two User objects based on their username values.
 
Constructor Summary
JiveComparators()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALE

public static final java.util.Comparator LOCALE
Compares two java.util.Locale objects, based on their display names.


USER

public static final java.util.Comparator USER
Compares two User objects based on their username values.


GROUP

public static final java.util.Comparator GROUP
Compares two Group objects based on their group name value.


LOWER_STRING

public static final java.util.Comparator LOWER_STRING
String comparator based on the toLowerCase() values of the two Strings.

Constructor Detail

JiveComparators

public JiveComparators()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.