- Sort Score
- Num 10 results
- Language All
- Labels All
Results 141 - 150 of 5,398 for int (0.16 seconds)
-
No Null Values | Scala Book | Scala Documentation
it can convert to an Int , you wrap the Int inside of a Some If...this: def toInt ( s : String ) : Int = { try { Integer . parseInt...docs.scala-lang.org/overviews/scala-book/no-null-values.htmlFri Feb 06 04:30:27 GMT 2026 85.3K bytes -
Concurrency | Scala 3 — Book | Scala Documentation
slowlyDouble ( x : Int , delay : Long ) : Future [ Int ] = Future {...this: def aShortRunningTask () : Int = 42 val x = aShortRunningTask...docs.scala-lang.org/scala3/book/concurrency.htmlFri Feb 06 04:30:27 GMT 2026 93.3K bytes -
方法特性 | Scala 3 — Book | Scala Documentation
( a : Int , b : Int ) : Int = a + b def add ( a : Int , b : Int...addThenDouble ( a : Int , b : Int ) : Int = { // imagine that...docs.scala-lang.org/zh-cn/scala3/book/methods-most.htmlFri Feb 06 04:30:27 GMT 2026 495K bytes -
Conversions Between Java and Scala Collections ...
List[Int] = [1, 2, 3] scala> val buf: Seq[Int] = jul.asScala...scala> val jul: java.util.List[Int] = ArrayBuffer(1, 2, 3).asJava...docs.scala-lang.org/overviews/collections/conversions-between-java-and-scala-collections.htmlFri Feb 06 04:30:27 GMT 2026 45.1K bytes -
Supporting Cyclic Garbage Collection — Py...
int PyObject_IS_GC ( PyObject * obj...if this function returns 0. int PyObject_GC_IsTracked ( PyObject...docs.python.org/3/c-api/gcsupport.htmlWed Apr 29 06:55:52 GMT 2026 9.8K bytes -
Context Variables Objects — Python 3.14.4...
int PyContext_ClearWatcher ( int watcher_id ) Clear...token type. Type-check macros: int PyContext_CheckExact ( PyObject...docs.python.org/3/c-api/contextvars.htmlWed Apr 29 06:55:52 GMT 2026 6.1K bytes -
커링 | Scala Documentation
filter(xs: List[Int], p: Int => Boolean): List[Int] = if (xs.isEmpty)...filter(xs.tail, p) def modN(n: Int)(x: Int) = ((x % n) == 0) val nums...docs.scala-lang.org/ko/tour/multiple-parameter-lists.htmlFri Feb 06 04:30:27 GMT 2026 73.6K bytes -
Option-less pattern matching
lengthCompare(len: Int): Int // or, `def length: Int` def apply(i: Int): T1...<: R , S = Int : class Nat(val x: Int): def get: Int = x def isEmpty...docs.scala-lang.org/scala3/reference/changed-features/pattern-matching.htmlTue Jan 27 22:53:02 GMT 2026 48.4K bytes -
概述 | Parallel Collections | Scala Documentation
sum res01: Int = 467766 scala> var sum = 0 sum: Int = 0 scala>...sum res02: Int = 457073 scala> var sum = 0 sum: Int = 0 scala>...docs.scala-lang.org/zh-cn/overviews/parallel-collections/overview.htmlFri Feb 06 04:30:27 GMT 2026 81.8K bytes -
値クラスと汎用トレイト | Scala Documentation
private[this] val member: Int = 3 val member: Int = 3 ^ Invalid.scala:3:...class Wrapper(val underlying: Int) extends AnyVal これはただ1つの、public...docs.scala-lang.org/ja/overviews/core/value-classes.htmlFri Feb 06 04:30:27 GMT 2026 41.9K bytes