- Sort Score
- Num 10 results
- Language All
- Labels All
Results 351 - 360 of 5,223 for int (0.13 seconds)
-
Creating Collections From Scratch | Collections...
3 ) val res17 : List [ Int ] = List ( 1 , 2 , 3 ) scala..., 3 ) val res18 : Iterable [ Int ] = List ( 1 , 2 , 3 ) scala...docs.scala-lang.org/overviews/collections-2.13/creating-collections-from-scratch.htmlFri Feb 06 04:30:27 GMT 2026 54.3K bytes -
Type Object Structures — Python 3.14.3 do...
getbufferproc PyObject * Py_buffer * int int releasebufferproc PyObject...PyObject * int objobjproc PyObject * PyObject * int objobjargproc...docs.python.org/3/c-api/typeobj.htmlSun Feb 22 06:33:52 GMT 2026 49.4K bytes -
Annotations, Names, Scopes, and More | Reflecti...
tpe = typeOf[{ def x: Int; val y: List[Int] }] tpe: scala.refl...scala.AnyRef{def x: Int; val y: scala.List[Int]} Like the method...docs.scala-lang.org/overviews/reflection/annotations-names-scopes.htmlFri Feb 06 04:30:27 GMT 2026 66.8K bytes -
Better Support for Type Classes
given Int is Ord: extension (x: Int) def compareTo(y: Int) = if...Sequential[Int]] should resolve to: [S](using Sequential[Int] { type...docs.scala-lang.org/scala3/reference/experimental/typeclasses.htmlTue Jan 27 22:53:02 GMT 2026 72.7K bytes -
Dropped: Existential Types
Int] is treated as the type Map ,...type parameter is an alias of Int . When reading class files compiled...docs.scala-lang.org/scala3/reference/dropped-features/existential-types.htmlTue Jan 27 22:53:02 GMT 2026 29K bytes -
패턴 매칭 | Scala Documentation
case "two" => 2 case y: Int => "scala.Int" } println(matchTest("two"))...extends App { def matchTest(x: Int): String = x match { case 1 =>...docs.scala-lang.org/ko/tour/pattern-matching.htmlFri Feb 06 04:30:27 GMT 2026 74.5K bytes -
Scala Cheatsheet | Scala Documentation
Good def f(x: Int) = { x*x } Bad def f(x: Int) { x*x } 定义函数 潜在风险:...map (_*2) 中缀语法糖 def sum(args: Int*) = args.reduceLeft(_+_) 变长参数...docs.scala-lang.org/zh-cn/cheatsheets/index.htmlFri Feb 06 04:30:27 GMT 2026 44.7K bytes -
TypeTags 和 Manifests | Reflection | Scala Docum...
例如,要获取表示 Int 的 TypeTag ,我们可以执行以下操作: import...universe._ val tt = typeTag[Int] 或者类似地,要获得表示 String 的 ClassTag...docs.scala-lang.org/zh-cn/overviews/reflection/typetags-manifests.htmlFri Feb 06 04:30:27 GMT 2026 61.5K bytes -
Collections Types | Scala 3 — Book | Scala Docu...
necessary: Scala 2 and 3 val ints : List [ Int ] = List ( 1 , 2 , 3 )...ArrayBuffer [ String ]() var ints = ArrayBuffer [ Int ]() var people = ArrayBuffer...docs.scala-lang.org/scala3/book/collections-classes.htmlFri Feb 06 04:30:27 GMT 2026 167.4K bytes -
Iterator Objects — Python 3.14.3 documentation
int PySeqIter_Check ( PyObject *...the iter() built-in function. int PyCallIter_Check ( PyObject *...docs.python.org/3/c-api/iterator.htmlFri Feb 06 03:23:27 GMT 2026 37.7K bytes