- Sort Score
- Num 10 results
- Language All
- Labels All
Results 251 - 260 of 5,220 for int (0.12 seconds)
-
Hygiene | Quasiquotes | Scala Documentation
$x"); x } def apply(x: Int): Int = macro impl def impl(c: Context)(x:...object MyMacro { def wrapper(x: Int) = { println(s"wrapped x = $x");...docs.scala-lang.org/overviews/quasiquotes/hygiene.htmlFri Feb 06 04:30:27 GMT 2026 46.9K bytes -
Scala容器类体系结构 | Scala Documentation
如果s是一个Int的序列(Seq[Int]),f是将Int转换为String的方法,那么,s.m...ArrayBuffer[Int] buf: scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer()...docs.scala-lang.org/zh-cn/overviews/core/architecture-of-scala-collections.htmlFri Feb 06 04:30:27 GMT 2026 69.3K bytes -
类型推断 | Scala 3 — Book | Scala Documentation
val x : Int = 1 val y : Double = 1 在这些示例中,类型分别_明确地_声明为 Int 和 Double...3 scala > val a = 1 val a : Int = 1 scala > val b = List ( 1...docs.scala-lang.org/zh-cn/scala3/book/types-inferred.htmlFri Feb 06 04:30:27 GMT 2026 436.1K bytes -
Functions Are Values | Scala 3 — Book | Scala D...
double ( i : Int ) : Int = i * 2 def underFive ( i : Int ) : Boolean...just like you create String and Int values. This feature has many...docs.scala-lang.org/scala3/book/fp-functions-are-values.htmlFri Feb 06 04:30:27 GMT 2026 81.4K bytes -
Migrating a Project to Scala 2.13's Collections...
make[Int]() ArrayBuilder.make[Int] Collection213Upgrade...f(xs: Traversable[Int]): Unit def f(xs: Iterable[Int]): Unit Collection213Upgrade...docs.scala-lang.org/overviews/core/collections-migration-213.htmlFri Feb 06 04:30:27 GMT 2026 74K bytes -
Capsules — Python 3.14.3 documentation
int PyCapsule_CheckExact ( PyObject...PyCapsule_Import ( const char * name , int no_block ) Part of the Stable...docs.python.org/3/c-api/capsule.htmlFri Feb 06 03:23:27 GMT 2026 37.4K bytes -
ast — Abstract syntax trees — Python 3.14...
attributes ( int lineno , int col_offset , int ? end_lineno , int ? end_col_offset...attributes ( int lineno , int col_offset , int ? end_lineno , int ? end_col_offset...docs.python.org/3/library/ast.htmlSun Feb 22 06:33:52 GMT 2026 35.8K bytes -
A Scala Tutorial for Java Programmers | Scala D...
3 class Date ( y : Int , m : Int , d : Int ) extends Ord { def...} class Date ( y : Int , m : Int , d : Int ) extends Ord : def...docs.scala-lang.org/tutorials/scala-for-java-programmers.htmlThu Feb 05 16:30:25 GMT 2026 151.6K bytes -
泛型 | Scala 3 — Book | Scala Documentation
Stack[Int] 的方式: Scala 2 Scala 3 val stack = new Stack [ Int ] stack...类的这个实现采用任何类型作为参数。 泛型的美妙之处在于您现在可以创建一个 Stack[Int] 、 Stack[String] 等,允许您将 Stack...docs.scala-lang.org/zh-cn/scala3/book/types-generics.htmlFri Feb 06 04:30:27 GMT 2026 439.4K bytes -
Prelude꞉ A Taste of Scala | Scala Book | Scala ...
like: def sum ( a : Int , b : Int ) : Int = a + b def concatenate...val x = 1 x : Int = 1 scala > val y = x + 1 y : Int = 2 As those...docs.scala-lang.org/overviews/scala-book/prelude-taste-of-scala.htmlFri Feb 06 04:30:27 GMT 2026 106.9K bytes