scala.reflect.runtime.JavaUniverse

FlagSet

type FlagSet = Long

An abstract type representing sets of flags (like private, final, etc.) that apply to definition trees and symbols

Definition Classes
FlagSets → FlagSets
Source
FlagSets.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FlagSet
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

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

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

    Definition Classes
    Long
  2. abstract def !=(x: Float): Boolean

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

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

    Definition Classes
    Long
  3. abstract def !=(x: Long): Boolean

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

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

    Definition Classes
    Long
  4. abstract def !=(x: Int): Boolean

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

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

    Definition Classes
    Long
  5. abstract def !=(x: Char): Boolean

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

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

    Definition Classes
    Long
  6. abstract def !=(x: Short): Boolean

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

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

    Definition Classes
    Long
  7. abstract def !=(x: Byte): Boolean

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

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

    Definition Classes
    Long
  8. abstract def %(x: Double): Double

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

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

    Definition Classes
    Long
  9. abstract def %(x: Float): Float

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

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

    Definition Classes
    Long
  10. abstract def %(x: Long): Long

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

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

    Definition Classes
    Long
  11. abstract def %(x: Int): Long

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

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

    Definition Classes
    Long
  12. abstract def %(x: Char): Long

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

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

    Definition Classes
    Long
  13. abstract def %(x: Short): Long

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

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

    Definition Classes
    Long
  14. abstract def %(x: Byte): Long

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

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

    Definition Classes
    Long
  15. abstract def &(x: Long): Long

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  16. abstract def &(x: Int): Long

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  17. abstract def &(x: Char): Long

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  18. abstract def &(x: Short): Long

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  19. abstract def &(x: Byte): Long

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  20. abstract def *(x: Double): Double

    Returns the product of this value and x.

    Returns the product of this value and x.

    Definition Classes
    Long
  21. abstract def *(x: Float): Float

    Returns the product of this value and x.

    Returns the product of this value and x.

    Definition Classes
    Long
  22. abstract def *(x: Long): Long

    Returns the product of this value and x.

    Returns the product of this value and x.

    Definition Classes
    Long
  23. abstract def *(x: Int): Long

    Returns the product of this value and x.

    Returns the product of this value and x.

    Definition Classes
    Long
  24. abstract def *(x: Char): Long

    Returns the product of this value and x.

    Returns the product of this value and x.

    Definition Classes
    Long
  25. abstract def *(x: Short): Long

    Returns the product of this value and x.

    Returns the product of this value and x.

    Definition Classes
    Long
  26. abstract def *(x: Byte): Long

    Returns the product of this value and x.

    Returns the product of this value and x.

    Definition Classes
    Long
  27. abstract def +(x: Double): Double

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Definition Classes
    Long
  28. abstract def +(x: Float): Float

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Definition Classes
    Long
  29. abstract def +(x: Long): Long

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Definition Classes
    Long
  30. abstract def +(x: Int): Long

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Definition Classes
    Long
  31. abstract def +(x: Char): Long

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Definition Classes
    Long
  32. abstract def +(x: Short): Long

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Definition Classes
    Long
  33. abstract def +(x: Byte): Long

    Returns the sum of this value and x.

    Returns the sum of this value and x.

    Definition Classes
    Long
  34. abstract def +(x: String): String

    Definition Classes
    Long
  35. abstract def -(x: Double): Double

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Definition Classes
    Long
  36. abstract def -(x: Float): Float

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Definition Classes
    Long
  37. abstract def -(x: Long): Long

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Definition Classes
    Long
  38. abstract def -(x: Int): Long

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Definition Classes
    Long
  39. abstract def -(x: Char): Long

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Definition Classes
    Long
  40. abstract def -(x: Short): Long

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Definition Classes
    Long
  41. abstract def -(x: Byte): Long

    Returns the difference of this value and x.

    Returns the difference of this value and x.

    Definition Classes
    Long
  42. abstract def /(x: Double): Double

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Definition Classes
    Long
  43. abstract def /(x: Float): Float

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Definition Classes
    Long
  44. abstract def /(x: Long): Long

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Definition Classes
    Long
  45. abstract def /(x: Int): Long

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Definition Classes
    Long
  46. abstract def /(x: Char): Long

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Definition Classes
    Long
  47. abstract def /(x: Short): Long

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Definition Classes
    Long
  48. abstract def /(x: Byte): Long

    Returns the quotient of this value and x.

    Returns the quotient of this value and x.

    Definition Classes
    Long
  49. abstract def <(x: Double): Boolean

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

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

    Definition Classes
    Long
  50. abstract def <(x: Float): Boolean

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

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

    Definition Classes
    Long
  51. abstract def <(x: Long): Boolean

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

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

    Definition Classes
    Long
  52. abstract def <(x: Int): Boolean

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

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

    Definition Classes
    Long
  53. abstract def <(x: Char): Boolean

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

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

    Definition Classes
    Long
  54. abstract def <(x: Short): Boolean

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

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

    Definition Classes
    Long
  55. abstract def <(x: Byte): Boolean

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

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

    Definition Classes
    Long
  56. abstract def <<(x: Long): Long

    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.

    Definition Classes
    Long
    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  57. abstract def <<(x: Int): Long

    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.

    Definition Classes
    Long
    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  58. abstract def <=(x: Double): Boolean

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

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

    Definition Classes
    Long
  59. abstract def <=(x: Float): Boolean

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

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

    Definition Classes
    Long
  60. abstract def <=(x: Long): Boolean

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

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

    Definition Classes
    Long
  61. abstract def <=(x: Int): Boolean

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

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

    Definition Classes
    Long
  62. abstract def <=(x: Char): Boolean

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

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

    Definition Classes
    Long
  63. abstract def <=(x: Short): Boolean

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

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

    Definition Classes
    Long
  64. abstract def <=(x: Byte): Boolean

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

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

    Definition Classes
    Long
  65. abstract def ==(x: Double): Boolean

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

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

    Definition Classes
    Long
  66. abstract def ==(x: Float): Boolean

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

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

    Definition Classes
    Long
  67. abstract def ==(x: Long): Boolean

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

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

    Definition Classes
    Long
  68. abstract def ==(x: Int): Boolean

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

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

    Definition Classes
    Long
  69. abstract def ==(x: Char): Boolean

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

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

    Definition Classes
    Long
  70. abstract def ==(x: Short): Boolean

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

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

    Definition Classes
    Long
  71. abstract def ==(x: Byte): Boolean

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

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

    Definition Classes
    Long
  72. abstract def >(x: Double): Boolean

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

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

    Definition Classes
    Long
  73. abstract def >(x: Float): Boolean

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

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

    Definition Classes
    Long
  74. abstract def >(x: Long): Boolean

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

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

    Definition Classes
    Long
  75. abstract def >(x: Int): Boolean

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

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

    Definition Classes
    Long
  76. abstract def >(x: Char): Boolean

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

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

    Definition Classes
    Long
  77. abstract def >(x: Short): Boolean

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

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

    Definition Classes
    Long
  78. abstract def >(x: Byte): Boolean

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

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

    Definition Classes
    Long
  79. abstract def >=(x: Double): Boolean

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

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

    Definition Classes
    Long
  80. abstract def >=(x: Float): Boolean

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

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

    Definition Classes
    Long
  81. abstract def >=(x: Long): Boolean

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

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

    Definition Classes
    Long
  82. abstract def >=(x: Int): Boolean

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

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

    Definition Classes
    Long
  83. abstract def >=(x: Char): Boolean

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

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

    Definition Classes
    Long
  84. abstract def >=(x: Short): Boolean

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

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

    Definition Classes
    Long
  85. abstract def >=(x: Byte): Boolean

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

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

    Definition Classes
    Long
  86. abstract def >>(x: Long): Long

    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.

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

    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.

    Definition Classes
    Long
    Example:
    1. -21 >> 3 == -3
      // in binary: 11111111 11111111 11111111 11101011 >> 3 ==
      //            11111111 11111111 11111111 11111101
  88. abstract def >>>(x: Long): Long

    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.

    Definition Classes
    Long
    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
  89. abstract def >>>(x: Int): Long

    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.

    Definition Classes
    Long
    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
  90. abstract def ^(x: Long): Long

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  91. abstract def ^(x: Int): Long

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  92. abstract def ^(x: Char): Long

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  93. abstract def ^(x: Short): Long

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  94. abstract def ^(x: Byte): Long

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  95. abstract def toByte: Byte

    Definition Classes
    Long
  96. abstract def toChar: Char

    Definition Classes
    Long
  97. abstract def toDouble: Double

    Definition Classes
    Long
  98. abstract def toFloat: Float

    Definition Classes
    Long
  99. abstract def toInt: Int

    Definition Classes
    Long
  100. abstract def toLong: Long

    Definition Classes
    Long
  101. abstract def toShort: Short

    Definition Classes
    Long
  102. abstract def unary_+: Long

    Returns this value, unmodified.

    Returns this value, unmodified.

    Definition Classes
    Long
  103. abstract def unary_-: Long

    Returns the negation of this value.

    Returns the negation of this value.

    Definition Classes
    Long
  104. abstract def unary_~: Long

    Returns the bitwise negation of this value.

    Returns the bitwise negation of this value.

    Definition Classes
    Long
    Example:
    1. ~5 == -6
      // in binary: ~00000101 ==
      //             11111010
  105. abstract def |(x: Long): Long

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  106. abstract def |(x: Int): Long

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  107. abstract def |(x: Char): Long

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  108. abstract def |(x: Short): Long

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010
  109. abstract def |(x: Byte): Long

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

    Definition Classes
    Long
    Example:
    1. (0xf0 | 0xaa) == 0xfa
      // in binary:   11110000
      //            | 10101010
      //              --------
      //              11111010

Concrete Value Members

  1. 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
  2. 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
  3. 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
  4. 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.

  5. 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 scala.Int. (o1.hashCode.equals(o2.hashCode)).

    returns

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

    Definition Classes
    Any
  6. def getClass(): Class[Long]

    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
    LongAnyValAny
  7. 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
  8. 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
  9. 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

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

No Group