- Sort Score
- Num 10 results
- Language All
- Labels All
Results 131 - 140 of 5,220 for int (0.06 seconds)
-
Extension Methods
extension (i: Int) def divide(d: Int): Option[(Int, Int)] = // extension...extension (i: Int) def safeDiv(x: Int): Option[Int] = // extension...docs.scala-lang.org/scala3/reference/contextual/extension-methods.htmlTue Jan 27 22:53:02 GMT 2026 52.9K bytes -
Capture Checking of Classes
def tabulate[A](n: Int)(gen: Int => A): LzyList[A]^{gen}...is LzyList[Int]^{ct} , i.e it is a lazy list of Int s that can...docs.scala-lang.org/scala3/reference/experimental/capture-checking/classes.htmlTue Jan 27 22:53:02 GMT 2026 49.9K bytes -
A First Look at Types | Scala 3 — Book | Scala ...
i : Int = b // 127 val face : Char = '☺' val number : Int = face...non-nullable: Double , Float , Long , Int , Short , Byte , Char , Unit...docs.scala-lang.org/scala3/book/first-look-at-types.htmlThu Feb 05 16:30:25 GMT 2026 97.1K bytes -
sys.monitoring — Execution event monitoring — P...
get_events ( tool_id : int , / ) → int Returns the int representing all...set_events ( tool_id : int , event_set : int , / ) → None Activates...docs.python.org/3/library/sys.monitoring.htmlFri Feb 06 03:23:28 GMT 2026 70.9K bytes -
트레잇 | Scala Documentation
IntIterator ( to : Int ) extends Iterator [ Int ] { private var...Iterator[Int] 는 트레잇 Iterator[A] 를 확장했으며 next 메서드는 Int 값을 반환해야...docs.scala-lang.org/ko/tour/traits.htmlFri Feb 06 04:30:27 GMT 2026 79.7K bytes -
Given Instances
given intOrd: Ord[Int]: def compare(x: Int, y: Int) = if x < y then...Ord[T]: def compare(x: T, y: T): Int extension (x: T) def < (y: T)...docs.scala-lang.org/scala3/reference/contextual/givens.htmlTue Jan 27 22:53:02 GMT 2026 36.9K bytes -
Scaladoc for Library Authors | Scaladoc | Scala...
x : Int ) : Boolean = ??? def foo ( x : ListBuffer [ Int ], y...y : String ) : Int = ??? } If one references foo via [[foo]]...docs.scala-lang.org/overviews/scaladoc/for-library-authors.htmlFri Feb 06 04:30:27 GMT 2026 58.5K bytes -
Value Classes and Universal Traits | Scala Docu...
AnyVal { val member: Int = 3 var y: Int = 4 lazy val x: Double...class: val member: Int = 3 val member: Int = 3 ^ Invalid.scala:3:...docs.scala-lang.org/overviews/core/value-classes.htmlFri Feb 06 04:30:27 GMT 2026 40.3K bytes -
多态方法 | Scala Documentation
上例中第一次调用方法时,我们显式地提供了类型参数 [Int] 。 因此第一个参数必须是 Int 类型,并且返回类型为 List[Int] 。 上例中第二次...listOfDuplicates [ A ]( x : A , length : Int ) : List [ A ] = { if ( length...docs.scala-lang.org/zh-cn/tour/polymorphic-methods.htmlFri Feb 06 04:30:27 GMT 2026 205.7K bytes -
Conversions Between Java and Scala Collections ...
List [ Int ] = [ 1 , 2 , 3 ] scala > val buf : Seq [ Int ] = jul...java.util.List [ Int ] = [ 1 , 2 , 3 ] scala > val buf : Seq [ Int ] = jul...docs.scala-lang.org/overviews/collections-2.13/conversions-between-java-and-scala-collections.htmlFri Feb 06 04:30:27 GMT 2026 54.8K bytes