- Sort Score
- Num 10 results
- Language All
- Labels All
Results 91 - 100 of 5,220 for int (0.09 seconds)
-
Previous Given Syntax
intOrd: Ord[Int] with def compare(x: Int, y: Int) = if x < y...IntOrd extends Ord[Int]: def compare(x: Int, y: Int) = if x < y then...docs.scala-lang.org/scala3/reference/contextual/previous-givens.htmlTue Jan 27 22:53:02 GMT 2026 44.7K bytes -
Implicit classes | Scala Documentation
RichInt(n: Int) extends Ordered[Int] { def min(m: Int): Int = if (n...RichInt(n: Int) extends Ordered[Int] { def min(m: Int): Int = if (n...docs.scala-lang.org/sips/13.htmlFri Feb 06 04:30:27 GMT 2026 27.6K bytes -
Types | Style Guide | Scala Documentation
def foo(a: { def bar(a: Int, b: Int): String; val baz: List[String...List[String => String] def bar(a: Int, b: Int): String } def foo(a: FooParam)...docs.scala-lang.org/style/types.htmlFri Feb 06 04:30:27 GMT 2026 32.2K bytes -
Views | Collections | Scala Documentation
IndexedSeqView[Int] , i.e. a lazily evaluated IndexedSeq[Int] . Like...example. Say you have a vector of Ints over which you want to map two...docs.scala-lang.org/overviews/collections-2.13/views.htmlFri Feb 06 04:30:27 GMT 2026 77.1K bytes -
Fewer Braces | Scala Documentation
x = y : Int val y = ( xs . map : ( Int => Int ) => Int ) In the...x = y : Int val y = ( xs . map : ( Int => Int ) => Int ) Other...docs.scala-lang.org/sips/44.htmlFri Feb 06 04:30:27 GMT 2026 50.5K bytes -
The Very High Level Layer — Python 3.14.3 docum...
int PyCompile_OpcodeStackEffect ( int opcode , int oparg...3.4. int PyCompile_OpcodeStackEffectWit ( int opcode , int oparg...docs.python.org/3/c-api/veryhigh.htmlFri Feb 06 03:23:27 GMT 2026 91.9K bytes -
Collections | Scala 3 — Book | Scala Documentation
3 ) // a: List[Int] = List(1, 2, 3) // Range methods...1 to 5 ). toList // b: List[Int] = List(1, 2, 3, 4, 5) val c...docs.scala-lang.org/scala3/book/taste-collections.htmlThu Feb 05 16:30:25 GMT 2026 81.3K bytes -
Method Features | Scala 3 — Book | Scala Docume...
( a : Int , b : Int ) : Int = a + b def add ( a : Int , b : Int...addThenDouble ( a : Int , b : Int ) : Int = { // imagine that...docs.scala-lang.org/scala3/book/methods-most.htmlThu Feb 05 16:30:25 GMT 2026 131.2K bytes -
视图 | Collections | Scala Documentation
SeqView[Int,Vector[Int]] = SeqView(1, 2, 3, 4,...iew有两个参数,第一个是整型(Int)表示视图单元的类型。第二个Vector[Int]数组表示当需要强制将视图转回时构造函数的类型。...docs.scala-lang.org/zh-cn/overviews/collections/views.htmlFri Feb 06 04:30:27 GMT 2026 134.2K bytes -
工具 | Scala 3 — Book | Scala Documentation
val timeout : Int = 5 _000 , val linger : Int = 5 _000 ) { override...val timeout : Int = 5 _000 , val linger : Int = 5 _000 ) : override...docs.scala-lang.org/zh-cn/scala3/book/domain-modeling-tools.htmlFri Feb 06 04:30:27 GMT 2026 544K bytes