Scala Standard Library 2.12.18 - 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

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: String): String
  35. abstract def -(x: Double): Double
  36. abstract def -(x: Float): Float
  37. abstract def -(x: Long): Long
  38. abstract def -(x: Int): Int
  39. abstract def -(x: Char): Int
  40. abstract def -(x: Short): Int
  41. abstract def -(x: Byte): Int
  42. abstract def /(x: Double): Double
  43. abstract def /(x: Float): Float
  44. abstract def /(x: Long): Long
  45. abstract def /(x: Int): Int
  46. abstract def /(x: Char): Int
  47. abstract def /(x: Short): Int
  48. abstract def /(x: Byte): Int
  49. abstract def <(x: Double): Boolean
  50. abstract def <(x: Float): Boolean
  51. abstract def <(x: Long): Boolean
  52. abstract def <(x: Int): Boolean
  53. abstract def <(x: Char): Boolean
  54. abstract def <(x: Short): Boolean
  55. abstract def <(x: Byte): Boolean
  56. abstract def <<(x: Int): Int
  57. abstract def <=(x: Double): Boolean
  58. abstract def <=(x: Float): Boolean
  59. abstract def <=(x: Long): Boolean
  60. abstract def <=(x: Int): Boolean
  61. abstract def <=(x: Char): Boolean
  62. abstract def <=(x: Short): Boolean
  63. abstract def <=(x: Byte): Boolean
  64. abstract def ==(x: Double): Boolean
  65. abstract def ==(x: Float): Boolean
  66. abstract def ==(x: Long): Boolean
  67. abstract def ==(x: Int): Boolean
  68. abstract def ==(x: Char): Boolean
  69. abstract def ==(x: Short): Boolean
  70. abstract def ==(x: Byte): Boolean
  71. abstract def >(x: Double): Boolean
  72. abstract def >(x: Float): Boolean
  73. abstract def >(x: Long): Boolean
  74. abstract def >(x: Int): Boolean
  75. abstract def >(x: Char): Boolean
  76. abstract def >(x: Short): Boolean
  77. abstract def >(x: Byte): Boolean
  78. abstract def >=(x: Double): Boolean
  79. abstract def >=(x: Float): Boolean
  80. abstract def >=(x: Long): Boolean
  81. abstract def >=(x: Int): Boolean
  82. abstract def >=(x: Char): Boolean
  83. abstract def >=(x: Short): Boolean
  84. abstract def >=(x: Byte): Boolean
  85. abstract def >>(x: Int): Int
  86. abstract def >>>(x: Int): Int
  87. abstract def ^(x: Long): Long
  88. abstract def ^(x: Int): Int
  89. abstract def ^(x: Char): Int
  90. abstract def ^(x: Short): Int
  91. abstract def ^(x: Byte): Int
  92. abstract def toByte: Byte
  93. abstract def toChar: Char
  94. abstract def toDouble: Double
  95. abstract def toFloat: Float
  96. abstract def toInt: Int
  97. abstract def toLong: Long
  98. abstract def toShort: Short
  99. abstract def unary_+: Int
  100. abstract def unary_-: Int
  101. abstract def unary_~: Int
  102. abstract def |(x: Long): Long
  103. abstract def |(x: Int): Int
  104. abstract def |(x: Char): Int
  105. abstract def |(x: Short): Int
  106. abstract def |(x: Byte): Int
  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 compare(y: Int): Int
  8. def compareTo(arg0: Integer): Int
  9. def compareTo(that: Int): Int
  10. def ensuring(cond: (Int) ⇒ Boolean, msg: ⇒ Any): Int
  11. def ensuring(cond: (Int) ⇒ Boolean): Int
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Int
  13. def ensuring(cond: Boolean): Int
  14. def equals(arg0: Any): Boolean
  15. def getClass(): Class[Int]
  16. def hashCode(): Int
  17. final def isInstanceOf[T0]: Boolean
  18. def isValidByte: Boolean
  19. def isValidChar: Boolean
  20. def isValidInt: Boolean
  21. def isValidLong: Boolean
  22. def isValidShort: Boolean
  23. def max(that: Int): Int
  24. def min(that: Int): Int
  25. val self: Int
  26. def signum: Int
  27. def to(end: Int, step: Int): Inclusive
  28. def to(end: Int): Inclusive
  29. def toBinaryString: String
  30. def toHexString: String
  31. def toOctalString: String
  32. def toString(): String
  33. def underlying(): AnyRef
  34. def until(end: Int, step: Int): collection.immutable.Range
  35. def until(end: Int): collection.immutable.Range
  36. def →[B](y: B): (Int, B)

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: String): String
  77. def +(x: Double): Double
  78. def +(x: Float): Float
  79. def +(x: Long): Float
  80. def +(x: Int): Float
  81. def +(x: Char): Float
  82. def +(x: Short): Float
  83. def +(x: Byte): Float
  84. def +(x: String): String
  85. def +(x: Double): Double
  86. def +(x: Float): Float
  87. def +(x: Long): Long
  88. def +(x: Int): Long
  89. def +(x: Char): Long
  90. def +(x: Short): Long
  91. def +(x: Byte): Long
  92. def +(x: String): String
  93. def +(other: String): String
  94. def -(x: Double): Double
  95. def -(x: Float): Double
  96. def -(x: Long): Double
  97. def -(x: Int): Double
  98. def -(x: Char): Double
  99. def -(x: Short): Double
  100. def -(x: Byte): Double
  101. def -(x: Double): Double
  102. def -(x: Float): Float
  103. def -(x: Long): Float
  104. def -(x: Int): Float
  105. def -(x: Char): Float
  106. def -(x: Short): Float
  107. def -(x: Byte): Float
  108. def -(x: Double): Double
  109. def -(x: Float): Float
  110. def -(x: Long): Long
  111. def -(x: Int): Long
  112. def -(x: Char): Long
  113. def -(x: Short): Long
  114. def -(x: Byte): Long
  115. def /(x: Double): Double
  116. def /(x: Float): Double
  117. def /(x: Long): Double
  118. def /(x: Int): Double
  119. def /(x: Char): Double
  120. def /(x: Short): Double
  121. def /(x: Byte): Double
  122. def /(x: Double): Double
  123. def /(x: Float): Float
  124. def /(x: Long): Float
  125. def /(x: Int): Float
  126. def /(x: Char): Float
  127. def /(x: Short): Float
  128. def /(x: Byte): Float
  129. def /(x: Double): Double
  130. def /(x: Float): Float
  131. def /(x: Long): Long
  132. def /(x: Int): Long
  133. def /(x: Char): Long
  134. def /(x: Short): Long
  135. def /(x: Byte): Long
  136. def <(that: Int): Boolean
  137. def <(x: Double): Boolean
  138. def <(x: Float): Boolean
  139. def <(x: Long): Boolean
  140. def <(x: Int): Boolean
  141. def <(x: Char): Boolean
  142. def <(x: Short): Boolean
  143. def <(x: Byte): Boolean
  144. def <(x: Double): Boolean
  145. def <(x: Float): Boolean
  146. def <(x: Long): Boolean
  147. def <(x: Int): Boolean
  148. def <(x: Char): Boolean
  149. def <(x: Short): Boolean
  150. def <(x: Byte): Boolean
  151. def <(x: Double): Boolean
  152. def <(x: Float): Boolean
  153. def <(x: Long): Boolean
  154. def <(x: Int): Boolean
  155. def <(x: Char): Boolean
  156. def <(x: Short): Boolean
  157. def <(x: Byte): Boolean
  158. def <<(x: Long): Long
  159. def <<(x: Int): Long
  160. def <=(that: Int): Boolean
  161. def <=(x: Double): Boolean
  162. def <=(x: Float): Boolean
  163. def <=(x: Long): Boolean
  164. def <=(x: Int): Boolean
  165. def <=(x: Char): Boolean
  166. def <=(x: Short): Boolean
  167. def <=(x: Byte): Boolean
  168. def <=(x: Double): Boolean
  169. def <=(x: Float): Boolean
  170. def <=(x: Long): Boolean
  171. def <=(x: Int): Boolean
  172. def <=(x: Char): Boolean
  173. def <=(x: Short): Boolean
  174. def <=(x: Byte): Boolean
  175. def <=(x: Double): Boolean
  176. def <=(x: Float): Boolean
  177. def <=(x: Long): Boolean
  178. def <=(x: Int): Boolean
  179. def <=(x: Char): Boolean
  180. def <=(x: Short): Boolean
  181. def <=(x: Byte): Boolean
  182. def ==(x: Double): Boolean
  183. def ==(x: Float): Boolean
  184. def ==(x: Long): Boolean
  185. def ==(x: Int): Boolean
  186. def ==(x: Char): Boolean
  187. def ==(x: Short): Boolean
  188. def ==(x: Byte): Boolean
  189. def ==(x: Double): Boolean
  190. def ==(x: Float): Boolean
  191. def ==(x: Long): Boolean
  192. def ==(x: Int): Boolean
  193. def ==(x: Char): Boolean
  194. def ==(x: Short): Boolean
  195. def ==(x: Byte): Boolean
  196. def ==(x: Double): Boolean
  197. def ==(x: Float): Boolean
  198. def ==(x: Long): Boolean
  199. def ==(x: Int): Boolean
  200. def ==(x: Char): Boolean
  201. def ==(x: Short): Boolean
  202. def ==(x: Byte): Boolean
  203. def >(that: Int): Boolean
  204. def >(x: Double): Boolean
  205. def >(x: Float): Boolean
  206. def >(x: Long): Boolean
  207. def >(x: Int): Boolean
  208. def >(x: Char): Boolean
  209. def >(x: Short): Boolean
  210. def >(x: Byte): Boolean
  211. def >(x: Double): Boolean
  212. def >(x: Float): Boolean
  213. def >(x: Long): Boolean
  214. def >(x: Int): Boolean
  215. def >(x: Char): Boolean
  216. def >(x: Short): Boolean
  217. def >(x: Byte): Boolean
  218. def >(x: Double): Boolean
  219. def >(x: Float): Boolean
  220. def >(x: Long): Boolean
  221. def >(x: Int): Boolean
  222. def >(x: Char): Boolean
  223. def >(x: Short): Boolean
  224. def >(x: Byte): Boolean
  225. def >=(that: Int): Boolean
  226. def >=(x: Double): Boolean
  227. def >=(x: Float): Boolean
  228. def >=(x: Long): Boolean
  229. def >=(x: Int): Boolean
  230. def >=(x: Char): Boolean
  231. def >=(x: Short): Boolean
  232. def >=(x: Byte): Boolean
  233. def >=(x: Double): Boolean
  234. def >=(x: Float): Boolean
  235. def >=(x: Long): Boolean
  236. def >=(x: Int): Boolean
  237. def >=(x: Char): Boolean
  238. def >=(x: Short): Boolean
  239. def >=(x: Byte): Boolean
  240. def >=(x: Double): Boolean
  241. def >=(x: Float): Boolean
  242. def >=(x: Long): Boolean
  243. def >=(x: Int): Boolean
  244. def >=(x: Char): Boolean
  245. def >=(x: Short): Boolean
  246. def >=(x: Byte): Boolean
  247. def >>(x: Long): Long
  248. def >>(x: Int): Long
  249. def >>>(x: Long): Long
  250. def >>>(x: Int): Long
  251. def ^(x: Long): Long
  252. def ^(x: Int): Long
  253. def ^(x: Char): Long
  254. def ^(x: Short): Long
  255. def ^(x: Byte): Long
  256. def byteValue(): Byte
  257. def byteValue(): Byte
  258. def doubleValue(): Double
  259. def doubleValue(): Double
  260. def equals(arg0: Any): Boolean
  261. def floatValue(): Float
  262. def floatValue(): Float
  263. def hashCode(): Int
  264. def intValue(): Int
  265. def intValue(): Int
  266. def longValue(): Long
  267. def longValue(): Long
  268. def shortValue(): Short
  269. def shortValue(): Short
  270. def toByte: Byte
  271. def toByte: Byte
  272. def toByte: Byte
  273. def toByte: Byte
  274. def toChar: Char
  275. def toChar: Char
  276. def toChar: Char
  277. def toChar: Char
  278. def toDouble: Double
  279. def toDouble: Double
  280. def toDouble: Double
  281. def toDouble: Double
  282. def toFloat: Float
  283. def toFloat: Float
  284. def toFloat: Float
  285. def toFloat: Float
  286. def toInt: Int
  287. def toInt: Int
  288. def toInt: Int
  289. def toInt: Int
  290. def toLong: Long
  291. def toLong: Long
  292. def toLong: Long
  293. def toLong: Long
  294. def toShort: Short
  295. def toShort: Short
  296. def toShort: Short
  297. def toShort: Short
  298. def toString(): String
  299. def toString(): String
  300. def unary_+: Double
  301. def unary_+: Float
  302. def unary_+: Long
  303. def unary_-: Double
  304. def unary_-: Float
  305. def unary_-: Long
  306. def unary_~: Long
  307. def |(x: Long): Long
  308. def |(x: Int): Long
  309. def |(x: Char): Long
  310. def |(x: Short): Long
  311. 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