- Sort Score
- Num 10 results
- Language All
- Labels All
Results 181 - 190 of 5,220 for int (0.08 seconds)
-
For Comprehensions | Tour of Scala | Scala Docu...
2 Scala 3 def foo ( n : Int , v : Int ) = for ( i <- 0 until n...(9, 1) } def foo ( n : Int , v : Int ) = for i <- 0 until n j...docs.scala-lang.org/tour/for-comprehensions.htmlFri Feb 06 04:30:27 GMT 2026 48.8K bytes -
具象可変コレクションクラス | Collections | Scala Documentation
mpty[Int] buf: scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer()...mpty[Int] buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer()...docs.scala-lang.org/ja/overviews/collections/concrete-mutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 105.5K bytes -
Pattern Matching | Tour of Scala | Scala Docume...
Random val x : Int = Random . nextInt ( 10 ) x match...import scala.util.Random val x : Int = Random . nextInt ( 10 ) x match...docs.scala-lang.org/tour/pattern-matching.htmlFri Feb 06 04:30:27 GMT 2026 81.9K bytes -
Right-Associative By-Name Operators | Scala Doc...
f(i: Int) = { println("Generating "+i); i } f: (i: Int)Int scala>...scala.collection.immutable.Stream[Int] = Stream(1, ?) The LazyList...docs.scala-lang.org/sips/39.htmlFri Feb 06 04:30:27 GMT 2026 28.8K bytes -
Equality | Collections (Scala 2.8 - 2.12) | Sca...
ArrayBuffer[Int],Int] = Map((ArrayBuffer(1, 2,...scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer(1, 2, 3) scala>...docs.scala-lang.org/overviews/collections/equality.htmlFri Feb 06 04:30:27 GMT 2026 42.9K bytes -
Automatic Eta Expansion
String) => Int => List[Int] f2: Int => List[Int] The syntax...Boolean, y: String)(z: Int): List[Int] val f1 = m val f2 = m(true,...docs.scala-lang.org/scala3/reference/changed-features/eta-expansion.htmlTue Jan 27 22:53:02 GMT 2026 29.9K bytes -
方法 | Scala 3 — Book | Scala Documentation
and 3 def sum ( a : Int , b : Int ) : Int = a + b def concatenate...Scala 2 and 3 def sum ( a : Int , b : Int ) = a + b def concatenate...docs.scala-lang.org/zh-cn/scala3/book/taste-methods.htmlFri Feb 06 04:30:27 GMT 2026 450.9K bytes -
tracemalloc — Trace memory allocations — Python...
module as a tuple: (current: int, peak: int) . tracemalloc. reset_peak...lineno : int = None , all_frames : bool = False , domain : int = None...docs.python.org/3/library/tracemalloc.htmlFri Feb 06 03:23:27 GMT 2026 125.5K bytes -
List Objects — Python 3.14.3 documentation
int PyList_Check ( PyObject * p )...This function always succeeds. int PyList_CheckExact ( PyObject...docs.python.org/3/c-api/list.htmlFri Feb 06 03:23:27 GMT 2026 43.9K bytes -
The REPL | Scala 3 — Book | Scala Documentation
sum(a: Int, b: Int): Int = a + b def sum(a: Int, b: Int): Int scala>...+ 1 val res0: Int = 2 scala> 2 + 2 val res1: Int = 4 如输出所示,如果您不为表达式的结果分配变量,REPL...docs.scala-lang.org/zh-cn/scala3/book/taste-repl.htmlFri Feb 06 04:30:27 GMT 2026 436.2K bytes