Packages

c

scala.runtime

RichChar

final class RichChar extends AnyVal with IntegralProxy[Char]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichChar
  2. IntegralProxy
  3. RangedProxy
  4. ScalaWholeNumberProxy
  5. ScalaNumberProxy
  6. OrderedProxy
  7. Ordered
  8. Comparable
  9. Typed
  10. Proxy
  11. ScalaNumericAnyConversions
  12. AnyVal
  13. 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 RichChar(self: Char)

Type Members

  1. type ResultWithoutStep = NumericRange[Char]
    Definition Classes
    IntegralProxyRangedProxy

Value Members

  1. def <(that: Char): Boolean

    Returns true if this is less than that

    Returns true if this is less than that

    Definition Classes
    Ordered
  2. def <=(that: Char): 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: Char): Boolean

    Returns true if this is greater than that.

    Returns true if this is greater than that.

    Definition Classes
    Ordered
  4. def >=(that: Char): 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: Char

    Returns the absolute value of this.

    Returns the absolute value of this.

    Definition Classes
    RichCharScalaNumberProxy
  6. def asDigit: Int
  7. def byteValue(): Byte
  8. def compare(y: Char): 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
  9. def compareTo(that: Char): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Definition Classes
    Ordered → Comparable
  10. def doubleValue(): Double
  11. def floatValue(): Float
  12. 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
  13. def getDirectionality: Byte
  14. def getNumericValue: Int
  15. def getType: Int
  16. def intValue(): Int
  17. def isControl: Boolean
  18. def isDigit: Boolean
  19. def isHighSurrogate: Boolean
  20. def isIdentifierIgnorable: Boolean
  21. def isLetter: Boolean
  22. def isLetterOrDigit: Boolean
  23. def isLowSurrogate: Boolean
  24. def isLower: Boolean
  25. def isMirrored: Boolean
  26. def isSpaceChar: Boolean
  27. def isSurrogate: Boolean
  28. def isTitleCase: Boolean
  29. def isUnicodeIdentifierPart: Boolean
  30. def isUnicodeIdentifierStart: Boolean
  31. def isUpper: Boolean
  32. 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
    ScalaNumericAnyConversions
  33. 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
    RichCharScalaNumericAnyConversions
  34. 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
  35. 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
  36. def isWhitespace: Boolean
  37. def isWhole(): Boolean

    returns

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

    Definition Classes
    ScalaWholeNumberProxyScalaNumericAnyConversions
  38. def longValue(): Long
  39. def max(that: Char): Char

    Returns this if this > that or that otherwise.

    Returns this if this > that or that otherwise.

    Definition Classes
    RichCharScalaNumberProxy
  40. def min(that: Char): Char

    Returns this if this < that or that otherwise.

    Returns this if this < that or that otherwise.

    Definition Classes
    RichCharScalaNumberProxy
  41. def reverseBytes: Char
  42. val self: Char
    Definition Classes
    RichCharTypedProxy
  43. def shortValue(): Short
  44. def signum: Int

    Returns the signum of this.

    Returns the signum of this.

    Definition Classes
    RichCharScalaNumberProxy
  45. def to(end: Char, step: Char): Inclusive[Char]
    Definition Classes
    IntegralProxyRangedProxy
  46. def to(end: Char): Inclusive[Char]
    Definition Classes
    IntegralProxyRangedProxy
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. def toLower: Char
  54. 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
  55. 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
  56. def toTitleCase: Char
  57. def toUpper: Char
  58. def underlying(): AnyRef
  59. def until(end: Char, step: Char): Exclusive[Char]
    Definition Classes
    IntegralProxyRangedProxy
  60. def until(end: Char): Exclusive[Char]
    Definition Classes
    IntegralProxyRangedProxy