- Sort Score
- Num 10 results
- Language All
- Labels All
Results 31 - 40 of 5,220 for int (0.05 seconds)
-
向 Java 开发者介绍Scala | Scala 3 — Book | Scala Docu...
add(a: Int, b: Int): Int def multiply(a: Int, b: Int): Int = a *...public int add(int a, int b) { return a + b; } def add(a: Int, b:...docs.scala-lang.org/zh-cn/scala3/book/scala-for-java-devs.htmlFri Feb 06 04:30:27 GMT 2026 482K bytes -
Relaxed Lambda Syntax
fun(f: Int => Int => Int): Int = f(1)(2) fun: (x: Int) => y =>...partial: PartialFunction[(Int, Int), Int] = case (a, b) if b > 2...docs.scala-lang.org/scala3/reference/experimental/relaxed-lambdas.htmlTue Jan 27 22:53:02 GMT 2026 37.2K bytes -
Macros
possible types ( List[Int] , List[Int => Int] , ...). This is an...expr1plus1: Expr[Int] = '{ 1 + 1 } val expr2: Expr[Int] = Expr(1 +...docs.scala-lang.org/scala3/reference/metaprogramming/macros.htmlTue Jan 27 22:53:02 GMT 2026 85.2K bytes -
Dropped Features | Scala 3 Migration Guide | Sc...
1 -val f: () => Int = x _ +val f: () => Int = (() => x) any2stringadd...val values : Map [ Symbol , Int ] = Map ( 'abc -> 1 ) val abc...docs.scala-lang.org/scala3/guides/migration/incompat-dropped-features.htmlThu Feb 05 16:30:25 GMT 2026 78.5K bytes -
The @targetName annotation
=> String): Int = x.length def f(x: => Int): Int = x + 1 // error:...=> String): Int = x.length def f(x: => Int): Int = x + 1 // OK...docs.scala-lang.org/scala3/reference/other-new-features/targetName.htmlTue Jan 27 22:53:02 GMT 2026 37.2K bytes -
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.htmlFri Feb 06 04:30:27 GMT 2026 86K bytes -
Parsing arguments and building values — Python ...
to a C short int . H ( int ) [unsigned short int] Convert a Python...short int , without overflow checking. i ( int ) [int] Convert...docs.python.org/3/c-api/arg.htmlFri Feb 06 03:23:27 GMT 2026 113.3K bytes -
type-casting-diagram.svg
Short Byte->Short Int Int Short->Int Long Long Int->Long Float Float...Float->Double Char Char Char->Int 4424...docs.scala-lang.org/resources/images/tour/type-casting-diagram.svgFri Feb 24 17:11:59 GMT 2023 4.3K 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 -
로컬 타입 추론 | 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