- Sort Score
- Num 10 results
- Language All
- Labels All
Results 421 - 430 of 5,398 for int (1 seconds)
-
Programming FAQ — Python 3.14.4 documenta...
the built-in int() type constructor, for example, int('144') ==...decimal, so that int('0144') == 144 holds true, and int('0x144') raises...docs.python.org/3/faq/programming.htmlWed Apr 29 06:55:53 GMT 2026 44.5K bytes -
for Loops | Scala Book | Scala Documentation
3 ) nums : Seq [ Int ] = List ( 1 , 2 , 3 ) scala...which has the data type Seq[Int] . Here’s a list of strings which...docs.scala-lang.org/overviews/scala-book/for-loops.htmlFri Feb 06 04:30:27 GMT 2026 66.6K bytes -
The @threadUnsafe annotation
Hello: @threadUnsafe lazy val x: Int = 1 Contributors to this page...docs.scala-lang.org/scala3/reference/other-new-features/threadUnsafe-annotation.htmlTue Jan 27 22:53:02 GMT 2026 28.3K bytes -
高阶函数 | Scala Documentation
40000) val doubleSalary = (x: Int) => x * 2 val newSalaries = ...140000, 80000) 注意在上述示例中 x 没有被显式声明为Int类型,这是因为编译器能够根据map函数期望的类型推断出 x...docs.scala-lang.org/zh-cn/tour/higher-order-functions.htmlFri Feb 06 04:30:27 GMT 2026 215.4K bytes -
Explicit Nulls
String s; int x; } ==> class C: val s: String? val x: Int We nullify...String NAME = "name"; final int AGE = 0; final char CHAR = 'a';...docs.scala-lang.org/scala3/reference/experimental/explicit-nulls.htmlTue Jan 27 22:53:02 GMT 2026 71.2K bytes -
argparse — Parser for command-line options, arg...
metavar = 'int' , type = int , choices = range (...'--parent' , type = int ) >>> foo_parser = argparse...docs.python.org/3/library/argparse.htmlTue Apr 28 13:41:05 GMT 2026 38K bytes -
コレクションの作成 | Collections | Scala Documentation
3) res17: List[Int] = List(1, 2, 3) scala> Traversable(1,...Traversable(1, 2, 3) res18: Traversable[Int] = List(1, 2, 3) scala> mutable.Traversable(1,...docs.scala-lang.org/ja/overviews/collections/creating-collections-from-scratch.htmlFri Feb 06 04:30:27 GMT 2026 96.4K bytes -
給 Java 程式設計師的 Scala 入門教學 | Scala Documentation
Date 類別為: class Date(y: Int, m: Int, d: Int) extends Ord { def year...String => Int 於是型別 Environment 便可以當做輸入 String 回傳 Int 函式的型別之代名。...docs.scala-lang.org/zh-tw/tutorials/scala-for-java-programmers.htmlFri Feb 06 04:30:27 GMT 2026 61.9K bytes -
통합된 타입 | Scala Documentation
Int , Short , Byte , Char , Unit...face : Char = '☺' val number : Int = face // 9786 캐스팅은 단방향이며 컴파일되지...docs.scala-lang.org/ko/tour/unified-types.htmlFri Feb 06 04:30:27 GMT 2026 79.6K bytes -
依赖函数类型 | Scala 3 — Book | Scala Documentation
Age extends Key { type Value = Int } 以下对方法 get 的调用现在将键入检查: val db...( Name ) val res2 : Option [ Int ] = db . get ( Age ) 调用方法 db.get(Name)...docs.scala-lang.org/zh-cn/scala3/book/types-dependent-function.htmlFri Feb 06 04:30:27 GMT 2026 447.5K bytes