- Sort Score
- Num 10 results
- Language All
- Labels All
Results 61 - 70 of 5,220 for int (0.1 seconds)
-
Trait Iterable | Collections (Scala 2.8 - 2.12)...
List[Int] = List(1, 2, 3) scala> git.next() res4: List[Int] = List(4,...List[Int] = List(1, 2, 3) scala> sit.next() res6: List[Int] = List(2,...docs.scala-lang.org/overviews/collections/trait-iterable.htmlFri Feb 06 04:30:27 GMT 2026 49.2K bytes -
Implementing Custom Collections (Scala 2.13) | ...
capacity : Int , val length : Int , offset : Int , elems : Array...capacity : Int , val length : Int , offset : Int , elems : Array...docs.scala-lang.org/overviews/core/custom-collections.htmlFri Feb 06 04:30:27 GMT 2026 277.8K bytes -
Integer Objects — Python 3.14.3 documentation
the same object as int in the Python layer. int PyLong_Check ( PyObject...version 3.2. int PyLong_GetSign ( PyObject * obj , int * sign ) Get...docs.python.org/3/c-api/long.htmlFri Feb 06 03:23:27 GMT 2026 144K bytes -
Quote pattern explicit type variable syntax | S...
u => Int ]) case '{ type tail <: Tuple ; $x : *: [ Int , `tail`...`u` => Int) } => g[u](ls: Expr[List[u]], f: Expr[u => Int]) + case...docs.scala-lang.org/sips/53.htmlFri Feb 06 04:30:27 GMT 2026 40.3K bytes -
Generalized Method Syntax
U)(z: Int, s: String)(a: Array[T])(implicit ordInt: Ord[Int], l:...Some[Int] , only the above allows: getOrElse(k)[Option[Int]](None)...docs.scala-lang.org/scala3/reference/other-new-features/generalized-method-syntax.htmlTue Jan 27 22:53:02 GMT 2026 35.6K bytes -
Methods | 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/scala3/book/taste-methods.htmlThu Feb 05 16:30:25 GMT 2026 83K bytes -
Scala 2.7迁移指南 | Collections | Scala Documentation
4)) xs: List[(Int, Int)] = List((1, 2), (3, 4)) scala>...List.unzip(xs) ^ res0: (List[Int], List[Int]) = (List(1, 3), List(2,...docs.scala-lang.org/zh-cn/overviews/collections/migrating-from-scala-27.htmlFri Feb 06 04:30:27 GMT 2026 124.1K bytes -
基础 | Scala Documentation
def add ( x : Int , y : Int ) : Int = x + y println ( add...y : Int )( multiplier : Int ) : Int = ( x + y ) * multiplier...docs.scala-lang.org/zh-cn/tour/basics.htmlFri Feb 06 04:30:27 GMT 2026 227.2K bytes -
Anonymous Functions | Scala 3 — Book | Scala Do...
from the data in ints that i is an Int , the Int declaration can...3 val doubledInts = ints . map (( i : Int ) => i * 2 ) val doubledInts...docs.scala-lang.org/scala3/book/fun-anonymous-functions.htmlFri Feb 06 04:30:27 GMT 2026 89.5K bytes -
Type Inference | Tour of Scala | Scala Document...
Scala 2 and 3 def squareOf ( x : Int ) = x * x The compiler can infer...infer that the return type is an Int , so no explicit return type...docs.scala-lang.org/tour/type-inference.htmlFri Feb 06 04:30:27 GMT 2026 42.7K bytes