- Sort Score
- Num 10 results
- Language All
- Labels All
Results 51 - 60 of 5,220 for int (0.07 seconds)
-
Conversions Between Java and Scala Collections ...
List[Int] = [1, 2, 3] scala> val buf: Seq[Int] = jul.asScala...scala> val jul: java.util.List[Int] = ArrayBuffer(1, 2, 3).asJava...docs.scala-lang.org/overviews/collections/conversions-between-java-and-scala-collections.htmlFri Feb 06 04:30:27 GMT 2026 45.1K bytes -
The ArrayBuffer Class | Scala Book | Scala Docu...
ways: val ints = ArrayBuffer [ Int ]() ints += 1 ints += 2 The...ArrayBuffer like this: val ints = ArrayBuffer [ Int ]() val names = ArrayBuffer...docs.scala-lang.org/overviews/scala-book/arraybuffer-examples.htmlFri Feb 06 04:30:27 GMT 2026 73.2K bytes -
Interacting with Java | Scala 3 — Book | Scala ...
def multiply ( x : Int , y : Int ) : Int // abstract } trait...: def multiply ( x: Int , y: Int ) : Int // abstract A Java class...docs.scala-lang.org/scala3/book/interacting-with-java.htmlFri Feb 06 04:30:27 GMT 2026 118.6K bytes -
Implicit Classes | Scala Documentation
Bar(x: Int) // 错误! val x = 5 implicit class x(y: Int) // 错误!...implicit class IntWithTimes(x: Int) { def times[A](f: => A): Unit...docs.scala-lang.org/zh-cn/overviews/core/implicit-classes.htmlFri Feb 06 04:30:27 GMT 2026 26.9K bytes -
Exception Handling — Python 3.14.3 documentation
int lineno , int col_offset , int end_lineno , int end_col_offset...PyObject * filename , int lineno , int col_offset ) Set file,...docs.python.org/3/c-api/exceptions.htmlFri Feb 06 03:23:27 GMT 2026 271.6K bytes -
Modularity Improvements
C { type T = Int } Then f(y) would have type Int , since the compiler...Ordering: type T = Int def compare(t1: T, t2: T): Int = t1 - t2 val...docs.scala-lang.org/scala3/reference/experimental/modularity.htmlTue Jan 27 22:53:02 GMT 2026 50.8K bytes -
암시적 변환 | Scala Documentation
Ordered[List[A]] 와 Int => Ordered[Int] 가 범위 내에 있을 경우, 아래와 같이 타입이 List[Int] 인...암시적 메서드 Int => Ordered[Int] 를 자동으로 제공한다. 다음은 암시적 메서드 Int => Ordered[Int]...docs.scala-lang.org/ko/tour/implicit-conversions.htmlFri Feb 06 04:30:27 GMT 2026 77.1K bytes -
値クラスと汎用トレイト | Scala Documentation
private[this] val member: Int = 3 val member: Int = 3 ^ Invalid.scala:3:...class Wrapper(val underlying: Int) extends AnyVal これはただ1つの、public...docs.scala-lang.org/ja/overviews/core/value-classes.htmlFri Feb 06 04:30:27 GMT 2026 41.9K bytes -
Higher-Order Functions | Scala 3 — Book | Scala...
executeAndPrint ( f : ( Int , Int ) => Int , i : Int , j : Int ) : Unit =...a : Int , b : Int ) : Int = a + b def subtract ( a : Int , b...docs.scala-lang.org/scala3/book/fun-hofs.htmlFri Feb 06 04:30:27 GMT 2026 106.6K bytes -
隐式转换 | Scala 3 — Book | Scala Documentation
String 到 Int 的隐式转换: given Conversion [ String , Int ] with def...method that expects an Int def plus1 ( i : Int ) = i + 1 // pass it...docs.scala-lang.org/zh-cn/scala3/book/ca-implicit-conversions.htmlFri Feb 06 04:30:27 GMT 2026 434.1K bytes