Class ValueOf

  • All Implemented Interfaces:

    
    public class ValueOf
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueOf()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static String toString(Object o)
      static double toDouble(Object o)
      static double toDouble(Object o, int defaultValue)
      static long toLong(Object o, long defaultValue)
      static long toLong(Object o)
      static float toFloat(Object o, long defaultValue)
      static float toFloat(Object o)
      static int toInt(Object o, int defaultValue)
      static int toInt(Object o)
      static boolean toBoolean(Object o)
      static boolean toBoolean(Object o, boolean defaultValue)
      static <T> T to(Object o, T defaultValue)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ValueOf

        ValueOf()
    • Method Detail

      • toString

         static String toString(Object o)
      • toDouble

         static double toDouble(Object o)
      • toDouble

         static double toDouble(Object o, int defaultValue)
      • toLong

         static long toLong(Object o, long defaultValue)
      • toLong

         static long toLong(Object o)
      • toFloat

         static float toFloat(Object o, long defaultValue)
      • toFloat

         static float toFloat(Object o)
      • toInt

         static int toInt(Object o, int defaultValue)
      • toInt

         static int toInt(Object o)
      • toBoolean

         static boolean toBoolean(Object o)
      • toBoolean

         static boolean toBoolean(Object o, boolean defaultValue)
      • to

         static <T> T to(Object o, T defaultValue)