Class Numbers

java.lang.Object
org.openforis.commons.lang.Numbers

public class Numbers extends Object
Author:
S. Ricci
  • Constructor Details

    • Numbers

      public Numbers()
  • Method Details

    • isNumber

      public static boolean isNumber(Object value)
    • toInt

      public static int toInt(Object value)
    • toInt

      public static int toInt(Object value, int defaultValue)
    • toIntegerObject

      public static Integer toIntegerObject(Object value)
    • toDouble

      public static double toDouble(Object value)
    • toDouble

      public static double toDouble(Object value, double defaultValue)
    • toDoubleObject

      public static Double toDoubleObject(Object value)
    • toLong

      public static long toLong(Object value)
    • toLong

      public static long toLong(Object value, long defaultValue)
    • toLongObject

      public static Long toLongObject(Object value)