Package tigase.util

Class ObjectComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<java.lang.Object>

    public class ObjectComparator
    extends java.lang.Object
    implements java.util.Comparator<java.lang.Object>, java.io.Serializable
    Describe class ObjectComparator here.

    Created: Tue May 17 23:53:20 2005
    Version:
    $Rev$
    Author:
    Artur Hefczyc
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Object o1, java.lang.Object o2)
      Describe compare method here.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • ObjectComparator

        public ObjectComparator()
    • Method Detail

      • compare

        public int compare​(java.lang.Object o1,
                           java.lang.Object o2)
        Describe compare method here.
        Specified by:
        compare in interface java.util.Comparator<java.lang.Object>
        Parameters:
        o1 - an Object value
        o2 - an Object value
        Returns:
        an int value