- Sort Score
- Num 10 results
- Language All
- Labels All
Results 241 - 250 of 5,220 for int (0.07 seconds)
-
Equality | Collections | Scala Documentation
ArrayBuffer [ Int ] , Int ] = Map (( ArrayBuffer (...scala.collection.mutable.ArrayBuffer [ Int ] = ArrayBuffer ( 1 , 2 , 3 )...docs.scala-lang.org/overviews/collections-2.13/equality.htmlFri Feb 06 04:30:27 GMT 2026 45.9K bytes -
Symbols, Trees, and Types | Reflection | Scala ...
<:w Short Short <:w Int Char <:w Int Int <:w Long Long <:w Float...numeric types Int and Double : scala> typeOf[Int] weak_<:< typeOf[Double]...docs.scala-lang.org/overviews/reflection/symbols-trees-types.htmlFri Feb 06 04:30:27 GMT 2026 93.6K bytes -
与 Java 交互 | Scala 3 — Book | Scala Documentation
: def multiply ( x: Int , y: Int ) : Int // abstract Java 类可以实现这两个接口,并定义...ScalaMultiplyTrait { public int multiply ( int a , int b ) { return a *...docs.scala-lang.org/zh-cn/scala3/book/interacting-with-java.htmlFri Feb 06 04:30:27 GMT 2026 461.7K bytes -
Multiversal Equality | Scala 3 — Book | Scala D...
year : Int , pages : Int ) extends Book case class...String , year : Int , lengthInMinutes : Int ) extends Book Finally,...docs.scala-lang.org/scala3/book/ca-multiversal-equality.htmlThu Feb 05 16:30:25 GMT 2026 84.7K bytes -
Pattern Matching | Tour of Scala | Scala Docume...
Random val x : Int = Random . nextInt ( 10 ) x match...import scala.util.Random val x : Int = Random . nextInt ( 10 ) x match...docs.scala-lang.org/tour/pattern-matching.htmlFri Feb 06 04:30:27 GMT 2026 81.9K bytes -
Match Types
case Int => L[X] def g[X]: L[X] = ??? | val x: Int = g[Int] | ^...Elem[String] =:= Char Elem[Array[Int]] =:= Int Elem[List[Float]] =:= Float...docs.scala-lang.org/scala3/reference/new-types/match-types.htmlTue Jan 27 22:53:02 GMT 2026 44K bytes -
Right-Associative By-Name Operators | Scala Doc...
f(i: Int) = { println("Generating "+i); i } f: (i: Int)Int scala>...scala.collection.immutable.Stream[Int] = Stream(1, ?) The LazyList...docs.scala-lang.org/sips/39.htmlFri Feb 06 04:30:27 GMT 2026 28.8K bytes -
튜플 | Scala Documentation
Int] 의 약칭인 (String, Int) 이다. 튜플들을 나타내기 위해서..."Sugar" , 25 ) 위 코드는 String 과 Int 엘리먼트를 포함하는 튜플을 생성한다. ingredient...docs.scala-lang.org/ko/tour/tuples.htmlFri Feb 06 04:30:27 GMT 2026 78.6K bytes -
具象可変コレクションクラス | Collections | Scala Documentation
mpty[Int] buf: scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer()...mpty[Int] buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer()...docs.scala-lang.org/ja/overviews/collections/concrete-mutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 105.5K bytes -
Implicit Macros | Macros | Scala Documentation
IntShowable extends Showable[Int] { def show(x: Int) = x.toString } show(42)...over and over again. class C(x: Int) implicit def cShowable = new...docs.scala-lang.org/overviews/macros/implicits.htmlFri Feb 06 04:30:27 GMT 2026 49.8K bytes