- Sort Score
- Num 10 results
- Language All
- Labels All
Results 211 - 220 of 5,220 for int (0.1 seconds)
-
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 -
array — Efficient arrays of numeric values — Py...
short int 2 'H' unsigned short int 2 'i' signed int int 2 'I'...unsigned int int 2 'l' signed long int 4 'L' unsigned long int 4 'q'...docs.python.org/3/library/array.htmlFri Feb 06 03:23:28 GMT 2026 42.1K bytes -
Functional Error Handling in Scala | Scala Book...
Option[Int] : def toInt ( s : String ) : Option [ Int ] = { try...toInt ( s : String ) : Try [ Int ] = Try { Integer . parseInt...docs.scala-lang.org/overviews/scala-book/functional-error-handling.htmlFri Feb 06 04:30:27 GMT 2026 70.6K bytes -
Capture Checking
tabulate[A](n: Int)(gen: Int => A) = def recur(i: Int): LzyList[A]^{gen}...parameters. In def f(x: => Int): Int the actual argument can refer...docs.scala-lang.org/scala3/reference/experimental/cc.htmlMon Nov 10 02:53:02 GMT 2025 109.9K bytes -
类型推断 | Scala Documentation
squareOf ( x : Int ) = x * x 编译器可以推断出方法的返回类型为 Int ,因此不需要明确地声明返回类型。...中,编译器知道 A 是 Int 类型 (即 x 是一个整数)。 因此,编译器可以从 x * 2 推断出 B 是 Int 类型。 何时...docs.scala-lang.org/zh-cn/tour/type-inference.htmlFri Feb 06 04:30:27 GMT 2026 208.6K bytes -
Pure Functions | Scala Book | Scala Documentation
integers ( List[Int] ): def sum ( list : List [ Int ]) : Int = list match...given: def double ( i : Int ) : Int = i * 2 Although recursion...docs.scala-lang.org/overviews/scala-book/pure-functions.htmlFri Feb 06 04:30:27 GMT 2026 64.7K bytes -
Unicode Objects and Codecs — Python 3.14.3 docu...
read-only data of Unicode objects: int PyUnicode_Check ( PyObject *...This function always succeeds. int PyUnicode_CheckExact ( PyObject...docs.python.org/3/c-api/unicode.htmlFri Feb 06 03:23:27 GMT 2026 310.1K bytes -
Inline
abstract class A: def f: Int def g: Int = f class B extends A:...inline def f: Int object B extends A: inline def f: Int = 22 B.f //...docs.scala-lang.org/scala3/reference/metaprogramming/inline.htmlTue Jan 27 22:53:02 GMT 2026 57.6K bytes -
控制结构 | Scala 3 — Book | Scala Documentation
3 val ints = List ( 1 , 2 , 3 , 4 , 5 ) for ( i <- ints ) println...) 代码 i <- ints 被称为_生成器_,在括号内的生成器后面是_循环体_。 val ints = List ( 1...docs.scala-lang.org/zh-cn/scala3/book/taste-control-structures.htmlFri Feb 06 04:30:27 GMT 2026 483.7K bytes -
An Overview of TASTy | Scala Documentation
think of being like this: int x = (Int) xs.get(0) // Java-ish val...on the JVM: val xs : List [ Int ] = List ( 1 , 2 , 3 ) that code...docs.scala-lang.org/scala3/guides/tasty-overview.htmlFri Feb 06 04:30:27 GMT 2026 36.8K bytes