Class ObjectComparator

java.lang.Object
org.openjump.core.apitools.comparisonandsorting.ObjectComparator

public class ObjectComparator extends Object
Version:
$Rev: 2509 $ modified: [sstein]: 16.Feb.2009 changed logger-entries to comments
Author:
Ole Rahn

FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
  • Constructor Details

    • ObjectComparator

      public ObjectComparator()
  • Method Details

    • compare

      public static int compare(Object o1, Object o2)
    • getDoubleValue

      public static double getDoubleValue(Object o)
      Method to generate a double value out of different number objects.
      Parameters:
      o - an object
      Returns:
      a double value representing to given object or Double.NAN if it can't be parsed