- Sort Score
- Num 10 results
- Language All
- Labels All
Results 121 - 130 of 5,398 for int (0.38 seconds)
-
Basics | Tour of Scala | Scala Documentation
addThenMultiply ( x : Int , y : Int )( multiplier : Int ) : Int = ( x + y...and 3 def add ( x : Int , y : Int ) : Int = x + y println ( add...docs.scala-lang.org/tour/basics.htmlWed Apr 29 03:30:28 GMT 2026 86K bytes -
Other Forms Of Givens
IntOrd extends Ord[Int]: def compare(x: Int, y: Int) = if x < y then...typeclass given Ord[Int]: def compare(x: Int, y: Int) = ... // Parameterized...docs.scala-lang.org/scala3/reference/contextual/more-givens.htmlTue Jan 27 22:53:02 GMT 2026 45.5K bytes -
控制结构 | Scala 3 — Book | Scala Documentation
3 def compare ( a : Int , b : Int ) : Int = if ( a < b ) - 1 else...1 def compare ( a : Int , b : Int ) : Int = if a < b then - 1...docs.scala-lang.org/zh-cn/scala3/book/control-structures.htmlFri Feb 06 04:30:27 GMT 2026 548.5K bytes -
Set Objects — Python 3.14.4 documentation
int , float , bool or bytes . int PySet_Add ( PyObject...any iterable Python object. int PySet_Check ( PyObject * p )...docs.python.org/3/c-api/set.htmlTue Apr 28 13:41:04 GMT 2026 8K bytes -
Interpreter initialization and finalization ...
int Py_BytesMain ( int argc , char * * argv...Added in version 3.8. int Py_Main ( int argc , wchar_t * * argv...docs.python.org/3/c-api/interp-lifecycle.htmlWed Apr 29 06:55:52 GMT 2026 18.3K bytes -
Traits | Tour of Scala | Scala Documentation
IntIterator ( to : Int ) extends Iterator [ Int ] { private var...IntIterator ( to : Int ) extends Iterator [ Int ] : private var...docs.scala-lang.org/tour/traits.htmlWed Apr 29 03:30:28 GMT 2026 47.1K bytes -
Literal-based singleton types | Scala Documenta...
// Greater[Int(5)] does not imply // Greater[Int(6)] // val c:...succinctly, val a: Int Refined Greater[5] = 10 val b: Int Refined Greater[4]...docs.scala-lang.org/sips/23.htmlFri Feb 06 04:30:27 GMT 2026 60K bytes -
로컬 타입 추론 | Scala Documentation
def succ(x: Int) = x + 1 // 메소드 succ는 Int 값을 반환한다. } 재귀 메소드의...타입: MyPair[Int, String] val q = id(1) // 타입: Int } 이 프로그램의 마지막...docs.scala-lang.org/ko/tour/type-inference.htmlFri Feb 06 04:30:27 GMT 2026 75.1K bytes -
Value Classes and Universal Traits | Scala Docu...
[this] val member: Int = 3) val member: Int = 3 ^ Invalid.scala:3:...class Wrapper(val underlying: Int) extends AnyVal 它仅有一个被用作运行时底...docs.scala-lang.org/zh-cn/overviews/core/value-classes.htmlFri Feb 06 04:30:27 GMT 2026 37.7K bytes -
Arrays | Collections (Scala 2.8 - 2.12) | Scala...
Scala array Array[Int] is represented as a Java int[] , an Array[Double]...Array[Int] = Array(3, 9) scala> a3.reverse res0: Array[Int] = Array(9,...docs.scala-lang.org/overviews/collections/arrays.htmlFri Feb 06 04:30:27 GMT 2026 58.1K bytes