- Sort Score
- Num 10 results
- Language All
- Labels All
Results 231 - 240 of 5,220 for int (0.35 seconds)
-
Tuples | Scala Book | Scala Documentation
this: class SomeThings ( i : Int , s : String , p : Person ) you..."Maggie" , 30 ) d : ( String , Int ) = ( Maggie , 30 ) Notice that...docs.scala-lang.org/overviews/scala-book/tuples.htmlFri Feb 06 04:30:27 GMT 2026 67.1K bytes -
函数式错误处理 | Scala 3 — Book | Scala Documentation
在本例中,如果 x 可以转换为 Int ,则计算第一个 case 子句右侧的表达式;如果 x 不能转换为 Int ,则计算第二个 case...将是以下两种情况之一: 如果 所有 三个字符串都转换为 Int 值, y 将是 Some[Int] ,即包裹在 Some 中的整数 如果三个字符串中...docs.scala-lang.org/zh-cn/scala3/book/fp-functional-error-handling.htmlFri Feb 06 04:30:27 GMT 2026 471.2K bytes -
Experimental Definitions
@experimental type Y = Int @experimental opaque type Z = Int def test: Unit...trait ExpSAM { def foo(x: Int): Int } def bar(f: ExpSAM): Unit...docs.scala-lang.org/scala3/reference/other-new-features/experimental-defs.htmlTue Jan 27 22:53:02 GMT 2026 52.3K 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 -
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 -
TypeTest
type Int object PeanoInt extends Peano: type Nat = Int type Zero...Zero = Int type Succ = Int def safeDiv(m: Nat, n: Succ): (Nat,...docs.scala-lang.org/scala3/reference/other-new-features/type-test.htmlTue Jan 27 22:53:02 GMT 2026 41.7K bytes -
Export Clauses
object O: class C(val x: Int) def m(c: C): Int = c.x + 1 export O.*...take(n: Int): String = x.substring(0, n) def drop(n: Int): String...docs.scala-lang.org/scala3/reference/other-new-features/export.htmlTue Jan 27 22:53:02 GMT 2026 48.2K bytes -
tracemalloc — Trace memory allocations — Python...
module as a tuple: (current: int, peak: int) . tracemalloc. reset_peak...lineno : int = None , all_frames : bool = False , domain : int = None...docs.python.org/3/library/tracemalloc.htmlFri Feb 06 03:23:27 GMT 2026 125.5K bytes -
Binary Compatibility for library authors | Scal...
age : Int ) { // Create withXxx methods...= name ) def withAge ( age : Int ) : Person = copy ( age = age...docs.scala-lang.org/overviews/core/binary-compatibility-for-library-authors.htmlFri Feb 06 04:30:27 GMT 2026 68.9K bytes -
Opaque Type Aliases
Permissions = Int opaque type PermissionChoice = Int opaque type...Logarithm l * 2 // error: found: Int(2), required: Logarithm l / l2...docs.scala-lang.org/scala3/reference/other-new-features/opaques.htmlTue Jan 27 22:53:02 GMT 2026 43.5K bytes