Scala Standard Library 2.13.1 - scala.Int (original) (raw)

abstract final class Int extends AnyVal

Ordering

  1. Alphabetic
  2. By Inheritance

Implicitly

  1. by int2Integer

  2. by intWrapper

  3. by int2double

  4. by int2float

  5. by int2long

  6. by any2stringadd

  7. by StringFormat

  8. by Ensuring

  9. by ArrowAssoc

  10. Hide All

  11. Show All

Visibility

  1. Public
  2. Protected

Abstract Value Members

  1. abstract def !=(x: Double): Boolean
  2. abstract def !=(x: Float): Boolean
  3. abstract def !=(x: Long): Boolean
  4. abstract def !=(x: Int): Boolean
  5. abstract def !=(x: Char): Boolean
  6. abstract def !=(x: Short): Boolean
  7. abstract def !=(x: Byte): Boolean
  8. abstract def %(x: Double): Double
  9. abstract def %(x: Float): Float
  10. abstract def %(x: Long): Long
  11. abstract def %(x: Int): Int
  12. abstract def %(x: Char): Int
  13. abstract def %(x: Short): Int
  14. abstract def %(x: Byte): Int
  15. abstract def &(x: Long): Long
  16. abstract def &(x: Int): Int
  17. abstract def &(x: Char): Int
  18. abstract def &(x: Short): Int
  19. abstract def &(x: Byte): Int
  20. abstract def *(x: Double): Double
  21. abstract def *(x: Float): Float
  22. abstract def *(x: Long): Long
  23. abstract def *(x: Int): Int
  24. abstract def *(x: Char): Int
  25. abstract def *(x: Short): Int
  26. abstract def *(x: Byte): Int
  27. abstract def +(x: Double): Double
  28. abstract def +(x: Float): Float
  29. abstract def +(x: Long): Long
  30. abstract def +(x: Int): Int
  31. abstract def +(x: Char): Int
  32. abstract def +(x: Short): Int
  33. abstract def +(x: Byte): Int
  34. abstract def -(x: Double): Double
  35. abstract def -(x: Float): Float
  36. abstract def -(x: Long): Long
  37. abstract def -(x: Int): Int
  38. abstract def -(x: Char): Int
  39. abstract def -(x: Short): Int
  40. abstract def -(x: Byte): Int
  41. abstract def /(x: Double): Double
  42. abstract def /(x: Float): Float
  43. abstract def /(x: Long): Long
  44. abstract def /(x: Int): Int
  45. abstract def /(x: Char): Int
  46. abstract def /(x: Short): Int
  47. abstract def /(x: Byte): Int
  48. abstract def <(x: Double): Boolean
  49. abstract def <(x: Float): Boolean
  50. abstract def <(x: Long): Boolean
  51. abstract def <(x: Int): Boolean
  52. abstract def <(x: Char): Boolean
  53. abstract def <(x: Short): Boolean
  54. abstract def <(x: Byte): Boolean
  55. abstract def <<(x: Int): Int
  56. abstract def <=(x: Double): Boolean
  57. abstract def <=(x: Float): Boolean
  58. abstract def <=(x: Long): Boolean
  59. abstract def <=(x: Int): Boolean
  60. abstract def <=(x: Char): Boolean
  61. abstract def <=(x: Short): Boolean
  62. abstract def <=(x: Byte): Boolean
  63. abstract def ==(x: Double): Boolean
  64. abstract def ==(x: Float): Boolean
  65. abstract def ==(x: Long): Boolean
  66. abstract def ==(x: Int): Boolean
  67. abstract def ==(x: Char): Boolean
  68. abstract def ==(x: Short): Boolean
  69. abstract def ==(x: Byte): Boolean
  70. abstract def >(x: Double): Boolean
  71. abstract def >(x: Float): Boolean
  72. abstract def >(x: Long): Boolean
  73. abstract def >(x: Int): Boolean
  74. abstract def >(x: Char): Boolean
  75. abstract def >(x: Short): Boolean
  76. abstract def >(x: Byte): Boolean
  77. abstract def >=(x: Double): Boolean
  78. abstract def >=(x: Float): Boolean
  79. abstract def >=(x: Long): Boolean
  80. abstract def >=(x: Int): Boolean
  81. abstract def >=(x: Char): Boolean
  82. abstract def >=(x: Short): Boolean
  83. abstract def >=(x: Byte): Boolean
  84. abstract def >>(x: Int): Int
  85. abstract def >>>(x: Int): Int
  86. abstract def ^(x: Long): Long
  87. abstract def ^(x: Int): Int
  88. abstract def ^(x: Char): Int
  89. abstract def ^(x: Short): Int
  90. abstract def ^(x: Byte): Int
  91. abstract def toByte: Byte
  92. abstract def toChar: Char
  93. abstract def toDouble: Double
  94. abstract def toFloat: Float
  95. abstract def toInt: Int
  96. abstract def toLong: Long
  97. abstract def toShort: Short
  98. abstract def unary_+: Int
  99. abstract def unary_-: Int
  100. abstract def unary_~: Int
  101. abstract def |(x: Long): Long
  102. abstract def |(x: Int): Int
  103. abstract def |(x: Char): Int
  104. abstract def |(x: Short): Int
  105. abstract def |(x: Byte): Int
  106. abstract def +(x: String): String
  107. abstract def <<(x: Long): Int
  108. abstract def >>(x: Long): Int
  109. abstract def >>>(x: Long): Int

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##(): Int
  3. def ->[B](y: B): (Int, B)
  4. final def ==(arg0: Any): Boolean
  5. def abs: Int
  6. final def asInstanceOf[T0]: T0
  7. def byteValue(): Byte
  8. def byteValue: Byte
  9. def compare(y: Int): Int
  10. def compareTo(arg0: Integer): Int
  11. def compareTo(that: Int): Int
  12. def doubleValue(): Double
  13. def doubleValue: Double
  14. def ensuring(cond: (Int) => Boolean, msg: => Any): Int
  15. def ensuring(cond: (Int) => Boolean): Int
  16. def ensuring(cond: Boolean, msg: => Any): Int
  17. def ensuring(cond: Boolean): Int
  18. def equals(arg0: Any): Boolean
  19. def floatValue(): Float
  20. def floatValue: Float
  21. def formatted(fmtstr: String): String
  22. def getClass(): Class[Int]
  23. def hashCode(): Int
  24. def intValue(): Int
  25. def intValue: Int
  26. final def isInstanceOf[T0]: Boolean
  27. def isValidByte: Boolean
  28. def isValidChar: Boolean
  29. def isValidInt: Boolean
  30. def isValidLong: Boolean
  31. def isValidShort: Boolean
  32. def isWhole: Boolean
  33. def longValue(): Long
  34. def longValue: Long
  35. def max(that: Int): Int
  36. def min(that: Int): Int
  37. val self: Int
  38. def shortValue(): Short
  39. def shortValue: Short
  40. def sign: Int
  41. def to(end: Int, step: Int): Inclusive
  42. def to(end: Int): Inclusive
  43. def toBinaryString: String
  44. def toHexString: String
  45. def toOctalString: String
  46. def toString(): String
  47. def until(end: Int, step: Int): collection.immutable.Range
  48. def until(end: Int): collection.immutable.Range

Shadowed Implicit Value Members

  1. def !=(x: Double): Boolean
  2. def !=(x: Float): Boolean
  3. def !=(x: Long): Boolean
  4. def !=(x: Int): Boolean
  5. def !=(x: Char): Boolean
  6. def !=(x: Short): Boolean
  7. def !=(x: Byte): Boolean
  8. def !=(x: Double): Boolean
  9. def !=(x: Float): Boolean
  10. def !=(x: Long): Boolean
  11. def !=(x: Int): Boolean
  12. def !=(x: Char): Boolean
  13. def !=(x: Short): Boolean
  14. def !=(x: Byte): Boolean
  15. def !=(x: Double): Boolean
  16. def !=(x: Float): Boolean
  17. def !=(x: Long): Boolean
  18. def !=(x: Int): Boolean
  19. def !=(x: Char): Boolean
  20. def !=(x: Short): Boolean
  21. def !=(x: Byte): Boolean
  22. def %(x: Double): Double
  23. def %(x: Float): Double
  24. def %(x: Long): Double
  25. def %(x: Int): Double
  26. def %(x: Char): Double
  27. def %(x: Short): Double
  28. def %(x: Byte): Double
  29. def %(x: Double): Double
  30. def %(x: Float): Float
  31. def %(x: Long): Float
  32. def %(x: Int): Float
  33. def %(x: Char): Float
  34. def %(x: Short): Float
  35. def %(x: Byte): Float
  36. def %(x: Double): Double
  37. def %(x: Float): Float
  38. def %(x: Long): Long
  39. def %(x: Int): Long
  40. def %(x: Char): Long
  41. def %(x: Short): Long
  42. def %(x: Byte): Long
  43. def &(x: Long): Long
  44. def &(x: Int): Long
  45. def &(x: Char): Long
  46. def &(x: Short): Long
  47. def &(x: Byte): Long
  48. def *(x: Double): Double
  49. def *(x: Float): Double
  50. def *(x: Long): Double
  51. def *(x: Int): Double
  52. def *(x: Char): Double
  53. def *(x: Short): Double
  54. def *(x: Byte): Double
  55. def *(x: Double): Double
  56. def *(x: Float): Float
  57. def *(x: Long): Float
  58. def *(x: Int): Float
  59. def *(x: Char): Float
  60. def *(x: Short): Float
  61. def *(x: Byte): Float
  62. def *(x: Double): Double
  63. def *(x: Float): Float
  64. def *(x: Long): Long
  65. def *(x: Int): Long
  66. def *(x: Char): Long
  67. def *(x: Short): Long
  68. def *(x: Byte): Long
  69. def +(x: Double): Double
  70. def +(x: Float): Double
  71. def +(x: Long): Double
  72. def +(x: Int): Double
  73. def +(x: Char): Double
  74. def +(x: Short): Double
  75. def +(x: Byte): Double
  76. def +(x: Double): Double
  77. def +(x: Float): Float
  78. def +(x: Long): Float
  79. def +(x: Int): Float
  80. def +(x: Char): Float
  81. def +(x: Short): Float
  82. def +(x: Byte): Float
  83. def +(x: Double): Double
  84. def +(x: Float): Float
  85. def +(x: Long): Long
  86. def +(x: Int): Long
  87. def +(x: Char): Long
  88. def +(x: Short): Long
  89. def +(x: Byte): Long
  90. def +(other: String): String
  91. def -(x: Double): Double
  92. def -(x: Float): Double
  93. def -(x: Long): Double
  94. def -(x: Int): Double
  95. def -(x: Char): Double
  96. def -(x: Short): Double
  97. def -(x: Byte): Double
  98. def -(x: Double): Double
  99. def -(x: Float): Float
  100. def -(x: Long): Float
  101. def -(x: Int): Float
  102. def -(x: Char): Float
  103. def -(x: Short): Float
  104. def -(x: Byte): Float
  105. def -(x: Double): Double
  106. def -(x: Float): Float
  107. def -(x: Long): Long
  108. def -(x: Int): Long
  109. def -(x: Char): Long
  110. def -(x: Short): Long
  111. def -(x: Byte): Long
  112. def /(x: Double): Double
  113. def /(x: Float): Double
  114. def /(x: Long): Double
  115. def /(x: Int): Double
  116. def /(x: Char): Double
  117. def /(x: Short): Double
  118. def /(x: Byte): Double
  119. def /(x: Double): Double
  120. def /(x: Float): Float
  121. def /(x: Long): Float
  122. def /(x: Int): Float
  123. def /(x: Char): Float
  124. def /(x: Short): Float
  125. def /(x: Byte): Float
  126. def /(x: Double): Double
  127. def /(x: Float): Float
  128. def /(x: Long): Long
  129. def /(x: Int): Long
  130. def /(x: Char): Long
  131. def /(x: Short): Long
  132. def /(x: Byte): Long
  133. def <(that: Int): Boolean
  134. def <(x: Double): Boolean
  135. def <(x: Float): Boolean
  136. def <(x: Long): Boolean
  137. def <(x: Int): Boolean
  138. def <(x: Char): Boolean
  139. def <(x: Short): Boolean
  140. def <(x: Byte): Boolean
  141. def <(x: Double): Boolean
  142. def <(x: Float): Boolean
  143. def <(x: Long): Boolean
  144. def <(x: Int): Boolean
  145. def <(x: Char): Boolean
  146. def <(x: Short): Boolean
  147. def <(x: Byte): Boolean
  148. def <(x: Double): Boolean
  149. def <(x: Float): Boolean
  150. def <(x: Long): Boolean
  151. def <(x: Int): Boolean
  152. def <(x: Char): Boolean
  153. def <(x: Short): Boolean
  154. def <(x: Byte): Boolean
  155. def <<(x: Long): Long
  156. def <<(x: Int): Long
  157. def <=(that: Int): Boolean
  158. def <=(x: Double): Boolean
  159. def <=(x: Float): Boolean
  160. def <=(x: Long): Boolean
  161. def <=(x: Int): Boolean
  162. def <=(x: Char): Boolean
  163. def <=(x: Short): Boolean
  164. def <=(x: Byte): Boolean
  165. def <=(x: Double): Boolean
  166. def <=(x: Float): Boolean
  167. def <=(x: Long): Boolean
  168. def <=(x: Int): Boolean
  169. def <=(x: Char): Boolean
  170. def <=(x: Short): Boolean
  171. def <=(x: Byte): Boolean
  172. def <=(x: Double): Boolean
  173. def <=(x: Float): Boolean
  174. def <=(x: Long): Boolean
  175. def <=(x: Int): Boolean
  176. def <=(x: Char): Boolean
  177. def <=(x: Short): Boolean
  178. def <=(x: Byte): Boolean
  179. def ==(x: Double): Boolean
  180. def ==(x: Float): Boolean
  181. def ==(x: Long): Boolean
  182. def ==(x: Int): Boolean
  183. def ==(x: Char): Boolean
  184. def ==(x: Short): Boolean
  185. def ==(x: Byte): Boolean
  186. def ==(x: Double): Boolean
  187. def ==(x: Float): Boolean
  188. def ==(x: Long): Boolean
  189. def ==(x: Int): Boolean
  190. def ==(x: Char): Boolean
  191. def ==(x: Short): Boolean
  192. def ==(x: Byte): Boolean
  193. def ==(x: Double): Boolean
  194. def ==(x: Float): Boolean
  195. def ==(x: Long): Boolean
  196. def ==(x: Int): Boolean
  197. def ==(x: Char): Boolean
  198. def ==(x: Short): Boolean
  199. def ==(x: Byte): Boolean
  200. def >(that: Int): Boolean
  201. def >(x: Double): Boolean
  202. def >(x: Float): Boolean
  203. def >(x: Long): Boolean
  204. def >(x: Int): Boolean
  205. def >(x: Char): Boolean
  206. def >(x: Short): Boolean
  207. def >(x: Byte): Boolean
  208. def >(x: Double): Boolean
  209. def >(x: Float): Boolean
  210. def >(x: Long): Boolean
  211. def >(x: Int): Boolean
  212. def >(x: Char): Boolean
  213. def >(x: Short): Boolean
  214. def >(x: Byte): Boolean
  215. def >(x: Double): Boolean
  216. def >(x: Float): Boolean
  217. def >(x: Long): Boolean
  218. def >(x: Int): Boolean
  219. def >(x: Char): Boolean
  220. def >(x: Short): Boolean
  221. def >(x: Byte): Boolean
  222. def >=(that: Int): Boolean
  223. def >=(x: Double): Boolean
  224. def >=(x: Float): Boolean
  225. def >=(x: Long): Boolean
  226. def >=(x: Int): Boolean
  227. def >=(x: Char): Boolean
  228. def >=(x: Short): Boolean
  229. def >=(x: Byte): Boolean
  230. def >=(x: Double): Boolean
  231. def >=(x: Float): Boolean
  232. def >=(x: Long): Boolean
  233. def >=(x: Int): Boolean
  234. def >=(x: Char): Boolean
  235. def >=(x: Short): Boolean
  236. def >=(x: Byte): Boolean
  237. def >=(x: Double): Boolean
  238. def >=(x: Float): Boolean
  239. def >=(x: Long): Boolean
  240. def >=(x: Int): Boolean
  241. def >=(x: Char): Boolean
  242. def >=(x: Short): Boolean
  243. def >=(x: Byte): Boolean
  244. def >>(x: Long): Long
  245. def >>(x: Int): Long
  246. def >>>(x: Long): Long
  247. def >>>(x: Int): Long
  248. def ^(x: Long): Long
  249. def ^(x: Int): Long
  250. def ^(x: Char): Long
  251. def ^(x: Short): Long
  252. def ^(x: Byte): Long
  253. def equals(arg0: AnyRef): Boolean
  254. def hashCode(): Int
  255. def toByte: Byte
  256. def toByte: Byte
  257. def toByte: Byte
  258. def toByte: Byte
  259. def toChar: Char
  260. def toChar: Char
  261. def toChar: Char
  262. def toChar: Char
  263. def toDouble: Double
  264. def toDouble: Double
  265. def toDouble: Double
  266. def toDouble: Double
  267. def toFloat: Float
  268. def toFloat: Float
  269. def toFloat: Float
  270. def toFloat: Float
  271. def toInt: Int
  272. def toInt: Int
  273. def toInt: Int
  274. def toInt: Int
  275. def toLong: Long
  276. def toLong: Long
  277. def toLong: Long
  278. def toLong: Long
  279. def toShort: Short
  280. def toShort: Short
  281. def toShort: Short
  282. def toShort: Short
  283. def toString(): String
  284. def toString(): String
  285. def unary_+: Double
  286. def unary_+: Float
  287. def unary_+: Long
  288. def unary_-: Double
  289. def unary_-: Float
  290. def unary_-: Long
  291. def unary_~: Long
  292. def |(x: Long): Long
  293. def |(x: Int): Long
  294. def |(x: Char): Long
  295. def |(x: Short): Long
  296. def |(x: Byte): Long

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion int2Integer fromInt to Integer

Inherited by implicit conversion intWrapper fromInt to RichInt

Inherited by implicit conversion int2double fromInt to Double

Inherited by implicit conversion int2float fromInt to Float

Inherited by implicit conversion int2long fromInt to Long

Inherited by implicit conversion any2stringadd fromInt to any2stringadd[Int]

Inherited by implicit conversion StringFormat fromInt to StringFormat[Int]

Inherited by implicit conversion Ensuring fromInt to Ensuring[Int]

Inherited by implicit conversion ArrowAssoc fromInt to ArrowAssoc[Int]

Ungrouped