- Sort Score
- Num 10 results
- Language All
- Labels All
Results 301 - 310 of 5,220 for int (0.1 seconds)
-
Programmatic Structural Types
{ val name: String; val age: Int } The type Person adds a refinement...person.selectDynamic("age").asInstanceOf[Int] For example, Record could be...docs.scala-lang.org/scala3/reference/changed-features/structural-types.htmlTue Jan 27 22:53:02 GMT 2026 44K bytes -
@static fields and methods in Scala objects (SI...
public static int x = 5 ; public static int bar ( int y ) { return...5 @static def bar ( y : Int ) : Int = x + y } println ( Foo ....docs.scala-lang.org/sips/30.htmlFri Feb 06 04:30:27 GMT 2026 45.2K bytes -
Default Parameter Values | Tour of Scala | Scal...
3 object A { def func ( x : Int = 34 ) : Unit def func ( y :...Unit } object A : def func ( x: Int = 34 ) : Unit def func ( y :...docs.scala-lang.org/tour/default-parameter-values.htmlFri Feb 06 04:30:27 GMT 2026 40.7K bytes -
函数是值 | Scala 3 — Book | Scala Documentation
double ( i : Int ) : Int = i * 2 def underFive ( i : Int ) : Boolean...的第二个重要特性是 您可以将函数创建为值 ,就像您创建 String 和 Int 值一样。 这个特性有很多好处,其中最常见的是(a)您可以...docs.scala-lang.org/zh-cn/scala3/book/fp-functions-are-values.htmlFri Feb 06 04:30:27 GMT 2026 445.9K bytes -
タプル | Scala Documentation
Int) であり、これは Tuple2[String, Int] の簡単な表記法です。 タプルを表すために、Scalaは..."Sugar" , 25 ) ここでは String 要素を1つと Int 要素を1つ含むタプルを作っています。 推論される ingredient...docs.scala-lang.org/ja/tour/tuples.htmlFri Feb 06 04:30:27 GMT 2026 146.5K bytes -
Linking documentation | Scaladoc | Scala Docume...
with MD syntax: [](meth(Int)) vs [[meth(Int)]] Now that we have a...Markdown: [](meth(Int, Float)) vs [[meth(Int, Float)]] None of...docs.scala-lang.org/scala3/guides/scaladoc/linking.htmlFri Feb 06 04:30:27 GMT 2026 43.7K bytes -
Scala Classes | Scala Book | Scala Documentation
age res0 : Int = 0 scala > p . age = 36 p . age : Int = 36 scala...Socket ( val timeout : Int , val linger : Int ) { override def toString...docs.scala-lang.org/overviews/scala-book/classes.htmlFri Feb 06 04:30:27 GMT 2026 75.6K bytes -
Tuple Objects — Python 3.14.3 documentation
int PyTuple_Check ( PyObject * p...This function always succeeds. int PyTuple_CheckExact ( PyObject...docs.python.org/3/c-api/tuple.htmlSun Feb 22 06:33:52 GMT 2026 8.3K bytes -
Two Types of Variables | Scala Book | Scala Doc...
= 18 age : Int = 18 scala > val age = 19 age : Int = 19 val fields...like this: String s = "hello" ; int i = 42 ; Person p = new Person...docs.scala-lang.org/overviews/scala-book/two-types-variables.htmlFri Feb 06 04:30:27 GMT 2026 65.5K bytes -
The List Class | Scala Book | Scala Documentation
isn’t necessary: val ints : List [ Int ] = List ( 1 , 2 , 3 )...create an initial List : val ints = List ( 1 , 2 , 3 ) val names...docs.scala-lang.org/overviews/scala-book/list-class.htmlFri Feb 06 04:30:27 GMT 2026 69.8K bytes