scala

Char

final class Char extends AnyVal

Char, a 16-bit unsigned integer (equivalent to Java's char primitive type) is a subtype of AnyVal. Instances of Char are not represented by an object in the underlying runtime system.

There is an implicit conversion from Char => RichChar which provides useful non-primitive operations.

Source
Char.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Char
  2. AnyVal
  3. NotNull
  4. Any
Implicitly
  1. by char2Character
  2. by charWrapper
  3. by any2stringfmt
  4. by any2stringadd
  5. by any2ArrowAssoc
  6. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Char()

Value Members

  1. def !=(x: Double): Boolean

    Returns true if this value is not equal to x, false otherwise.

  2. def !=(x: Float): Boolean

    Returns true if this value is not equal to x, false otherwise.

  3. def !=(x: Long): Boolean

    Returns true if this value is not equal to x, false otherwise.

  4. def !=(x: Int): Boolean

    Returns true if this value is not equal to x, false otherwise.

  5. def !=(x: Char): Boolean

    Returns true if this value is not equal to x, false otherwise.

  6. def !=(x: Short): Boolean

    Returns true if this value is not equal to x, false otherwise.

  7. def !=(x: Byte): Boolean

    Returns true if this value is not equal to x, false otherwise.

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

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    Any
  9. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    Any
  10. def %(x: Double): Double

    Returns the remainder of the division of this value by x.

  11. def %(x: Float): Float

    Returns the remainder of the division of this value by x.

  12. def %(x: Long): Long

    Returns the remainder of the division of this value by x.

  13. def %(x: Int): Int

    Returns the remainder of the division of this value by x.

  14. def %(x: Char): Int

    Returns the remainder of the division of this value by x.

  15. def %(x: Short): Int

    Returns the remainder of the division of this value by x.

  16. def %(x: Byte): Int

    Returns the remainder of the division of this value by x.

  17. def &(x: Long): Long

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  18. def &(x: Int): Int

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  19. def &(x: Char): Int

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  20. def &(x: Short): Int

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  21. def &(x: Byte): Int

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  22. def *(x: Double): Double

    Returns the product of this value and x.

  23. def *(x: Float): Float

    Returns the product of this value and x.

  24. def *(x: Long): Long

    Returns the product of this value and x.

  25. def *(x: Int): Int

    Returns the product of this value and x.

  26. def *(x: Char): Int

    Returns the product of this value and x.

  27. def *(x: Short): Int

    Returns the product of this value and x.

  28. def *(x: Byte): Int

    Returns the product of this value and x.

  29. def +(x: Double): Double

    Returns the sum of this value and x.

  30. def +(x: Float): Float

    Returns the sum of this value and x.

  31. def +(x: Long): Long

    Returns the sum of this value and x.

  32. def +(x: Int): Int

    Returns the sum of this value and x.

  33. def +(x: Char): Int

    Returns the sum of this value and x.

  34. def +(x: Short): Int

    Returns the sum of this value and x.

  35. def +(x: Byte): Int

    Returns the sum of this value and x.

  36. def +(x: String): String

  37. def -(x: Double): Double

    Returns the difference of this value and x.

  38. def -(x: Float): Float

    Returns the difference of this value and x.

  39. def -(x: Long): Long

    Returns the difference of this value and x.

  40. def -(x: Int): Int

    Returns the difference of this value and x.

  41. def -(x: Char): Int

    Returns the difference of this value and x.

  42. def -(x: Short): Int

    Returns the difference of this value and x.

  43. def -(x: Byte): Int

    Returns the difference of this value and x.

  44. def ->[B](y: B): (Char, B)

    Implicit information
    This member is added by an implicit conversion from Char to ArrowAssoc[Char] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  45. def /(x: Double): Double

    Returns the quotient of this value and x.

  46. def /(x: Float): Float

    Returns the quotient of this value and x.

  47. def /(x: Long): Long

    Returns the quotient of this value and x.

  48. def /(x: Int): Int

    Returns the quotient of this value and x.

  49. def /(x: Char): Int

    Returns the quotient of this value and x.

  50. def /(x: Short): Int

    Returns the quotient of this value and x.

  51. def /(x: Byte): Int

    Returns the quotient of this value and x.

  52. def <(x: Double): Boolean

    Returns true if this value is less than x, false otherwise.

  53. def <(x: Float): Boolean

    Returns true if this value is less than x, false otherwise.

  54. def <(x: Long): Boolean

    Returns true if this value is less than x, false otherwise.

  55. def <(x: Int): Boolean

    Returns true if this value is less than x, false otherwise.

  56. def <(x: Char): Boolean

    Returns true if this value is less than x, false otherwise.

  57. def <(x: Short): Boolean

    Returns true if this value is less than x, false otherwise.

  58. def <(x: Byte): Boolean

    Returns true if this value is less than x, false otherwise.

  59. def <<(x: Long): Int

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  60. def <<(x: Int): Int

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  61. def <=(x: Double): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  62. def <=(x: Float): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  63. def <=(x: Long): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  64. def <=(x: Int): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  65. def <=(x: Char): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  66. def <=(x: Short): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  67. def <=(x: Byte): Boolean

    Returns true if this value is less than or equal to x, false otherwise.

  68. def ==(x: Double): Boolean

    Returns true if this value is equal to x, false otherwise.

  69. def ==(x: Float): Boolean

    Returns true if this value is equal to x, false otherwise.

  70. def ==(x: Long): Boolean

    Returns true if this value is equal to x, false otherwise.

  71. def ==(x: Int): Boolean

    Returns true if this value is equal to x, false otherwise.

  72. def ==(x: Char): Boolean

    Returns true if this value is equal to x, false otherwise.

  73. def ==(x: Short): Boolean

    Returns true if this value is equal to x, false otherwise.

  74. def ==(x: Byte): Boolean

    Returns true if this value is equal to x, false otherwise.

  75. final def ==(arg0: Any): Boolean

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  76. def >(x: Double): Boolean

    Returns true if this value is greater than x, false otherwise.

  77. def >(x: Float): Boolean

    Returns true if this value is greater than x, false otherwise.

  78. def >(x: Long): Boolean

    Returns true if this value is greater than x, false otherwise.

  79. def >(x: Int): Boolean

    Returns true if this value is greater than x, false otherwise.

  80. def >(x: Char): Boolean

    Returns true if this value is greater than x, false otherwise.

  81. def >(x: Short): Boolean

    Returns true if this value is greater than x, false otherwise.

  82. def >(x: Byte): Boolean

    Returns true if this value is greater than x, false otherwise.

  83. def >=(x: Double): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  84. def >=(x: Float): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  85. def >=(x: Long): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  86. def >=(x: Int): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  87. def >=(x: Char): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  88. def >=(x: Short): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  89. def >=(x: Byte): Boolean

    Returns true if this value is greater than or equal to x, false otherwise.

  90. def >>(x: Long): Int

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.

    Example:
    1. -21 >> 3 == -3
      // in binary: 11111111 11111111 11111111 11101011 >> 3 ==
      //            11111111 11111111 11111111 11111101
  91. def >>(x: Int): Int

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.

    Example:
    1. -21 >> 3 == -3
      // in binary: 11111111 11111111 11111111 11101011 >> 3 ==
      //            11111111 11111111 11111111 11111101
  92. def >>>(x: Long): Int

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Examples:
    1. -21 >>> 3 == 536870909
      // in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
      //            00011111 11111111 11111111 11111101
    2. ,
    3. 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
  93. def >>>(x: Int): Int

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

    Examples:
    1. -21 >>> 3 == 536870909
      // in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
      //            00011111 11111111 11111111 11111101
    2. ,
    3. 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
  94. def ^(x: Long): Long

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  95. def ^(x: Int): Int

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  96. def ^(x: Char): Int

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  97. def ^(x: Short): Int

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  98. def ^(x: Byte): Int

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  99. def abs: Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  100. def asDigit: Int

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  101. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  102. def byteValue(): Byte

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    Number
  103. def charValue(): Char

    Implicit information
    This member is added by an implicit conversion from Char to Character performed by method char2Character in scala.Predef.
    Definition Classes
    Character
  104. 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
    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    OrderedProxyOrdered
  105. def compareTo(arg0: Character): Int

    Implicit information
    This member is added by an implicit conversion from Char to Character performed by method char2Character in scala.Predef.
    Definition Classes
    Character → Comparable
  106. def compareTo(that: Char): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    Ordered → Comparable
  107. def doubleValue(): Double

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  108. def ensuring(cond: (Char) ⇒ Boolean, msg: ⇒ Any): Char

    Implicit information
    This member is added by an implicit conversion from Char to Ensuring[Char] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  109. def ensuring(cond: (Char) ⇒ Boolean): Char

    Implicit information
    This member is added by an implicit conversion from Char to Ensuring[Char] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  110. def ensuring(cond: Boolean, msg: ⇒ Any): Char

    Implicit information
    This member is added by an implicit conversion from Char to Ensuring[Char] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  111. def ensuring(cond: Boolean): Char

    Implicit information
    This member is added by an implicit conversion from Char to Ensuring[Char] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  112. def equals(arg0: Any): Boolean

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Any implementation of this method should be an equivalence relation:

    • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
    • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
    • It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same Int. (o1.hashCode.equals(o2.hashCode)).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  113. def floatValue(): Float

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  114. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from Char to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  115. def getClass(): Class[Char]

    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
    CharAnyValAny
  116. def getDirectionality: Byte

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  117. def getNumericValue: Int

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  118. def getType: Int

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  119. def hashCode(): Int

    Calculate a hash code value for the object.

    Calculate a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for this object.

    Definition Classes
    Any
  120. def intValue(): Int

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  121. def isControl: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  122. def isDigit: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  123. def isHighSurrogate: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  124. def isIdentifierIgnorable: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  125. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  126. def isLetter: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  127. def isLetterOrDigit: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  128. def isLowSurrogate: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  129. def isLower: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  130. def isMirrored: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  131. def isSpaceChar: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  132. def isSurrogate: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  133. def isTitleCase: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  134. def isUnicodeIdentifierPart: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  135. def isUnicodeIdentifierStart: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  136. def isUpper: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  137. def isValidByte: Boolean

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

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

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumericConversions
  138. def isValidChar: Boolean

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

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

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumericConversions
  139. def isValidInt: Boolean

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

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

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumericConversions
  140. def isValidShort: Boolean

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

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

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumericConversions
  141. def isWhitespace: Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  142. def isWhole(): Boolean

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaWholeNumberProxy → ScalaNumber
  143. def longValue(): Long

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  144. def max(that: Char): Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  145. def min(that: Char): Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  146. def reverseBytes: Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  147. val self: Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichCharTypedProxy
  148. val self: Any

    Implicit information
    This member is added by an implicit conversion from Char to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  149. val self: Any

    Implicit information
    This member is added by an implicit conversion from Char to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  150. def shortValue(): Short

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    Number
  151. def signum: Int

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  152. def to(end: Char, step: Char): Inclusive[Char]

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  153. def to(end: Char): Inclusive[Char]

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  154. def toByte: Byte

  155. def toChar: Char

  156. def toDouble: Double

  157. def toFloat: Float

  158. def toInt: Int

  159. def toLong: Long

  160. def toLower: Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  161. def toShort: Short

  162. 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
    Any
  163. def toTitleCase: Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  164. def toUpper: Char

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichChar
  165. def unary_+: Int

    Returns this value, unmodified.

  166. def unary_-: Int

    Returns the negation of this value.

  167. def unary_~: Int

    Returns the bitwise negation of this value.

    Returns the bitwise negation of this value.

    Example:
    1. ~5 == -6
      // in binary: ~00000101 ==
      //             11111010
  168. def underlying(): AnyRef

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → ScalaNumber
  169. def until(end: Char, step: Char): Exclusive[Char]

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  170. def until(end: Char): Exclusive[Char]

    Implicit information
    This member is added by an implicit conversion from Char to RichChar performed by method charWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  171. def |(x: Long): Long

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  172. def |(x: Int): Int

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  173. def |(x: Char): Int

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  174. def |(x: Short): Int

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  175. def |(x: Byte): Int

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  176. def [B](y: B): (Char, B)

    Implicit information
    This member is added by an implicit conversion from Char to ArrowAssoc[Char] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: Char

    Implicit information
    This member is added by an implicit conversion from Char to ArrowAssoc[Char] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Char

    Implicit information
    This member is added by an implicit conversion from Char to Ensuring[Char] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Inherited by implicit conversion char2Character from Char to Character

Inherited by implicit conversion charWrapper from Char to RichChar

Inherited by implicit conversion any2stringfmt from Char to StringFormat

Inherited by implicit conversion any2stringadd from Char to StringAdd

Inherited by implicit conversion any2ArrowAssoc from Char to ArrowAssoc[Char]

Inherited by implicit conversion any2Ensuring from Char to Ensuring[Char]