org.beangle.commons.lang

Numbers

Related Doc: package lang

object Numbers

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Numbers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def convert2BigDecimal(str: String, defaultValue: BigDecimal = null): BigDecimal

  7. def convert2BigInt(str: String, defaultValue: BigInteger = null): BigInteger

  8. def convert2Double(str: String, defaultValue: Double = null): Double

  9. def convert2Float(str: String, defaultValue: Float = null): Float

  10. def convert2Int(str: String, defaultValue: Integer = null): Integer

  11. def convert2Long(str: String, defaultValue: Long = null): Long

  12. def convert2Short(str: String, defaultValue: Short = null): Short

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def isDigits(str: String): Boolean

    Checks whether the String contains only digit characters.

    Checks whether the String contains only digit characters.

    Null and empty String will return false.

    str

    the String to check

    returns

    true if str contains only Unicode numeric

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toDouble(str: String, defaultValue: Double = 0.0d): Double

  25. def toFloat(str: String, defaultValue: Float = 0.0f): Float

  26. def toInt(str: String, defaultValue: Int = 0): Int

    Convert a String to an int, returning a default value if the conversion fails.

    Convert a String to an int, returning a default value if the conversion fails.

    If the string is null, the default value is returned.

    toInt(null, 1) = 1
    toInt("", 1)   = 1
    toInt("1", 0)  = 1
    

    str

    the string to convert, may be null

    defaultValue

    the default value

    returns

    the int represented by the string, or the default if conversion fails

    Since

    3.0

  27. def toLong(str: String, defaultValue: Long = 0l): Long

  28. def toShort(str: String, defaultValue: Short = 0): Short

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped