- Sort Score
- Num 10 results
- Language All
- Labels All
Results 331 - 340 of 5,398 for int (0.38 seconds)
-
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 -
__future__ — Future statement definitions ̵...
0a3; an int PY_MINOR_VERSION , # the 1; an int PY_MICRO_VERSION...PY_MICRO_VERSION , # the 0; an int PY_RELEASE_LEVEL , # "alpha",...docs.python.org/3/library/__future__.htmlWed Apr 29 06:55:53 GMT 2026 6.2K bytes -
Main Methods in Scala 3 | Scala 3 — Book | Scal...
this @main method that takes an Int , a String , and a varargs String*...@main def happyBirthday ( age : Int , name : String , others : String*...docs.scala-lang.org/scala3/book/methods-main-methods.htmlWed Apr 29 03:30:28 GMT 2026 85.4K bytes -
Importing Modules — Python 3.14.4 documen...
int level ) Return value: New reference....locals , PyObject * fromlist , int level ) Return value: New reference....docs.python.org/3/c-api/import.htmlTue Apr 28 13:41:04 GMT 2026 10.3K bytes -
Higher-order Functions | Tour of Scala | Scala ...
_000 ) val doubleSalary = ( x : Int ) => x * 2 val newSalaries...function which takes a single Int, x , and returns x * 2 . In general,...docs.scala-lang.org/tour/higher-order-functions.htmlWed Apr 29 03:30:28 GMT 2026 62.6K bytes -
複数パラメータリスト(カリー化) | Scala Documentation
( m : Int , n : Int ) => m + n ) 複数パラメータリスト...こちらが例です。 def execute ( arg : Int )( implicit ec : scala.concu...docs.scala-lang.org/ja/tour/multiple-parameter-lists.htmlFri Feb 06 04:30:27 GMT 2026 148.6K bytes -
Scala Cheatsheet | Scala Documentation
Good def f(x: Int) = { x*x } Bad def f(x: Int) { x*x } 定义函数 潜在风险:...map (_*2) 中缀语法糖 def sum(args: Int*) = args.reduceLeft(_+_) 变长参数...docs.scala-lang.org/zh-cn/cheatsheets/index.htmlFri Feb 06 04:30:27 GMT 2026 44.7K bytes -
TypeTags 和 Manifests | Reflection | Scala Docum...
例如,要获取表示 Int 的 TypeTag ,我们可以执行以下操作: import...universe._ val tt = typeTag[Int] 或者类似地,要获得表示 String 的 ClassTag...docs.scala-lang.org/zh-cn/overviews/reflection/typetags-manifests.htmlFri Feb 06 04:30:27 GMT 2026 61.5K bytes -
类型初探 | Scala 3 — Book | Scala Documentation
i : Int = b // 127 val face : Char = '☺' val number : Int = face...有几个预定义的值类型,它们是不可为空的: Double , Float , Long , Int , Short , Byte , Char , Unit...docs.scala-lang.org/zh-cn/scala3/book/first-look-at-types.htmlFri Feb 06 04:30:27 GMT 2026 464.6K bytes -
Dropped: Auto-Application
def next(): Int class B extends A: def next: Int // overriding...scala.math.Numeric def toInt(): Int whereas toInt is written without...docs.scala-lang.org/scala3/reference/dropped-features/auto-apply.htmlTue Jan 27 22:53:02 GMT 2026 32.7K bytes