- Sort Score
- Num 10 results
- Language All
- Labels All
Results 201 - 210 of 5,220 for int (0.08 seconds)
-
具体的不可变集实体类 | Collections | Scala Documentation
scala> def fibFrom(a: Int, b: Int): Stream[Int] = a #:: fibFrom(b,...a + b) fibFrom: (a: Int,b: Int)Stream[Int] 这个函数看起来比较简单。序列中的第一...docs.scala-lang.org/zh-cn/overviews/collections/concrete-immutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 138.3K bytes -
Reflection
inline def natConst(inline x: Int): Int = ${natConstImpl('{x})} def...natConstImpl(x: Expr[Int])(using Quotes): Expr[Int] = import quotes.reflect.*...docs.scala-lang.org/scala3/reference/metaprogramming/reflection.htmlTue Jan 27 22:53:02 GMT 2026 57.4K bytes -
dataclasses — Data Classes — Python 3.14....
z : int = 10 , * , y : int = 0 , w : int = 1 , t : int = 0 ):...C : x : int y : int = field ( repr = False ) z : int = field...docs.python.org/3/library/dataclasses.htmlSun Feb 22 06:33:52 GMT 2026 18.6K 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 -
Numeric Literals
the primitive numeric types Int , Long , Float , and Double ....type: If the expected type is Int , Long , Float , or Double ,...docs.scala-lang.org/scala3/reference/experimental/numeric-literals.htmlTue Jan 27 22:53:02 GMT 2026 49K bytes -
unified-types-diagram.svg
Float->AnyVal Long Long Long->AnyVal Int Int Int->AnyVal Short Short Short->AnyVal...Nothing->Float Nothing->Long Nothing->Int Nothing->Short Nothing->Byte...docs.scala-lang.org/resources/images/tour/unified-types-diagram.svgFri Feb 24 17:11:59 GMT 2023 14.9K 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 -
Conversion Between Option and the Collections |...
) } yield ( a + b ) // : Set[Int] = Set(42) for a <- Set ( 1 )...41 ) yield ( a + b ) // : Set[Int] = Set(42) since the operation...docs.scala-lang.org/overviews/collections-2.13/conversion-between-option-and-the-collections.htmlFri Feb 06 04:30:27 GMT 2026 49.9K bytes -
Equality | Collections (Scala 2.8 - 2.12) | Sca...
ArrayBuffer[Int],Int] = Map((ArrayBuffer(1, 2,...scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer(1, 2, 3) scala>...docs.scala-lang.org/overviews/collections/equality.htmlFri Feb 06 04:30:27 GMT 2026 42.9K bytes -
Traits | Scala Documentation
IntIterator ( to : Int ) extends Iterator [ Int ] { private var...< to override def next () : Int = { if ( hasNext ) { val t =...docs.scala-lang.org/th/tour/traits.htmlFri Feb 06 04:30:27 GMT 2026 80.1K bytes