- Sort Score
- Num 10 results
- Language All
- Labels All
Results 1 - 10 of 667 for int (0.04 seconds)
-
Type-based search | Scaladoc | Scala Documentation
Int => Int => Int val e: Int => Int => Int val f: (Int, Int)...def b(i: Int)(j: Int): Int def c(i: Int): (Int => Int) val d:...docs.scala-lang.org/scala3/guides/scaladoc/search-engine.htmlFri Feb 06 04:30:27 GMT 2026 45.6K bytes -
Classes | Tour of Scala | Scala Documentation
x : Int , var y : Int ) { def move ( dx : Int , dy : Int ) :...var x : Int , var y : Int ) : def move ( dx: Int , dy: Int ) : Unit...docs.scala-lang.org/tour/classes.htmlFri Feb 06 04:30:27 GMT 2026 61.5K bytes -
Function Variables | Scala 3 — Book | Scala Doc...
the type `Int => Int` functionList: List[Int => Int] // a Map...type `Int => Int` functionMap: Map[String, Int => Int] Key points...docs.scala-lang.org/scala3/book/fun-function-variables.htmlFri Feb 06 04:30:27 GMT 2026 82.5K bytes -
Nested Methods | Tour of Scala | Scala Document...
x : Int ) : Int = { def fact ( x : Int , accumulator : Int ) :...x : Int ) : Int = def fact ( x : Int , accumulator : Int ) :...docs.scala-lang.org/tour/nested-functions.htmlFri Feb 06 04:30:27 GMT 2026 36.3K bytes -
Contextual Parameters, aka Implicit Parameters ...
Comparator [ Int ] { def compare ( x : Int , y : Int ) : Int = Integer...with def compare ( x : Int , y : Int ) : Int = Integer . compare...docs.scala-lang.org/tour/implicit-parameters.htmlFri Feb 06 04:30:27 GMT 2026 44.8K bytes -
Declarations | Style Guide | Scala Documentation
f3 = (_: Int) + (_: Int) val f4: (Int, Int) => Int = (_ + _)...= ((a: Int, b: Int) => a + b) val f2 = (a: Int, b: Int) => a +...docs.scala-lang.org/style/declarations.htmlFri Feb 06 04:30:27 GMT 2026 40.9K bytes -
Multiple Parameter Lists | Tour of Scala | Scal...
match the inferred type (Int, Int) => Int Scala 2 and 3 def foldLeft2...def firstWay = foldLeft1 [ Int , Int ]( numbers , 0 , _ + _ ) def...docs.scala-lang.org/tour/multiple-parameter-lists.htmlThu Feb 05 16:30:25 GMT 2026 57.1K bytes -
Concrete Mutable Collection Classes | Collectio...
empty [ Int ] buf : scala.collection.mutable.ArrayBuffer [ Int ] =...empty [ Int ] buf : scala.collection.mutable.ListBuffer [ Int ] =...docs.scala-lang.org/overviews/collections-2.13/concrete-mutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 80.5K bytes -
Kind Projector Migration | Scala 3 Migration Gu...
Either [ Int , +* ] // equivalent to: type R[+A] = Either[Int, A]...Either [ Int , + _ ] // equivalent to: type R[+A] = Either[Int, A]...docs.scala-lang.org/scala3/guides/migration/plugin-kind-projector.htmlThu Feb 05 16:30:25 GMT 2026 69.3K bytes -
A First Look at Scala Methods | Scala Book | Sc...
def add ( a : Int , b : Int , c : Int ) : Int = a + b + c Multiline...shown: def add ( a : Int , b : Int ) : Int = a + b Here’s a method...docs.scala-lang.org/overviews/scala-book/methods-first-look.htmlFri Feb 06 04:30:27 GMT 2026 65K bytes