Packages

c

scala.runtime

RichByte

final class RichByte extends AnyVal with ScalaWholeNumberProxy[Byte]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichByte
  2. ScalaWholeNumberProxy
  3. ScalaNumberProxy
  4. OrderedProxy
  5. Ordered
  6. Comparable
  7. Typed
  8. Proxy
  9. ScalaNumericAnyConversions
  10. AnyVal
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichByte(self: Byte)

Value Members

  1. def <(that: Byte): Boolean

    Returns true if this is less than that

    Returns true if this is less than that

    Definition Classes
    Ordered
  2. def <=(that: Byte): Boolean

    Returns true if this is less than or equal to that.

    Returns true if this is less than or equal to that.

    Definition Classes
    Ordered
  3. def >(that: Byte): Boolean

    Returns true if this is greater than that.

    Returns true if this is greater than that.

    Definition Classes
    Ordered
  4. def >=(that: Byte): Boolean

    Returns true if this is greater than or equal to that.

    Returns true if this is greater than or equal to that.

    Definition Classes
    Ordered
  5. def abs: Byte

    Returns the absolute value of this.

    Returns the absolute value of this.

    Definition Classes
    RichByteScalaNumberProxy
  6. def byteValue(): Byte
  7. def compare(y: Byte): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implement this method to determine how instances of A will be sorted.

    Returns x where:

    • x < 0 when this < that
    • x == 0 when this == that
    • x > 0 when this > that
    Definition Classes
    OrderedProxyOrdered
  8. def compareTo(that: Byte): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Definition Classes
    Ordered → Comparable
  9. def doubleValue(): Double
  10. def floatValue(): Float
  11. def getClass(): Class[_ <: AnyVal]

    Returns the runtime class representation of the object.

    Returns the runtime class representation of the object.

    returns

    a class object corresponding to the runtime type of the receiver.

    Definition Classes
    AnyValAny
  12. def intValue(): Int
  13. def isValidByte: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

    Definition Classes
    RichByteScalaNumericAnyConversions
  14. def isValidChar: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

    Definition Classes
    ScalaNumericAnyConversions
  15. def isValidInt: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

    Definition Classes
    ScalaNumericAnyConversions
  16. def isValidShort: Boolean

    Returns true iff this has a zero fractional part, and is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

    Definition Classes
    ScalaNumericAnyConversions
  17. def isWhole(): Boolean

    returns

    true if this number has no decimal component, false otherwise.

    Definition Classes
    ScalaWholeNumberProxyScalaNumericAnyConversions
  18. def longValue(): Long
  19. def max(that: Byte): Byte

    Returns this if this > that or that otherwise.

    Returns this if this > that or that otherwise.

    Definition Classes
    RichByteScalaNumberProxy
  20. def min(that: Byte): Byte

    Returns this if this < that or that otherwise.

    Returns this if this < that or that otherwise.

    Definition Classes
    RichByteScalaNumberProxy
  21. val self: Byte
    Definition Classes
    RichByteTypedProxy
  22. def shortValue(): Short
  23. def signum: Int

    Returns the signum of this.

    Returns the signum of this.

    Definition Classes
    RichByteScalaNumberProxy
  24. def toByte: Byte

    Returns the value of this as a scala.Byte.

    Returns the value of this as a scala.Byte. This may involve rounding or truncation.

    Definition Classes
    ScalaNumericAnyConversions
  25. def toChar: Char

    Returns the value of this as a scala.Char.

    Returns the value of this as a scala.Char. This may involve rounding or truncation.

    Definition Classes
    ScalaNumericAnyConversions
  26. def toDouble: Double

    Returns the value of this as a scala.Double.

    Returns the value of this as a scala.Double. This may involve rounding or truncation.

    Definition Classes
    ScalaNumericAnyConversions
  27. def toFloat: Float

    Returns the value of this as a scala.Float.

    Returns the value of this as a scala.Float. This may involve rounding or truncation.

    Definition Classes
    ScalaNumericAnyConversions
  28. def toInt: Int

    Returns the value of this as an scala.Int.

    Returns the value of this as an scala.Int. This may involve rounding or truncation.

    Definition Classes
    ScalaNumericAnyConversions
  29. def toLong: Long

    Returns the value of this as a scala.Long.

    Returns the value of this as a scala.Long. This may involve rounding or truncation.

    Definition Classes
    ScalaNumericAnyConversions
  30. def toShort: Short

    Returns the value of this as a scala.Short.

    Returns the value of this as a scala.Short. This may involve rounding or truncation.

    Definition Classes
    ScalaNumericAnyConversions
  31. def toString(): String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    Definition Classes
    ProxyAny
  32. def underlying(): AnyRef