- Sort Score
- Num 10 results
- Language All
- Labels All
Results 171 - 180 of 5,220 for int (0.05 seconds)
-
Passing Functions Around | Scala Book | Scala D...
( i : Int ) : Int = i * 2 //a method that doubles an Int val doubles...like this: def double ( i : Int ) : Int = i * 2 you can then pass...docs.scala-lang.org/overviews/scala-book/passing-functions-around.htmlFri Feb 06 04:30:27 GMT 2026 68.6K 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 -
File Objects — Python 3.14.3 documentation
PyFile_FromFd ( int fd , const char * name , const char * mode , int buffering...errors , const char * newline , int closefd ) Return value: New reference....docs.python.org/3/c-api/file.htmlFri Feb 06 03:23:27 GMT 2026 36.3K bytes -
Symbols, Trees, and Types | Reflection | Scala ...
<:w Short Short <:w Int Char <:w Int Int <:w Long Long <:w Float...numeric types Int and Double : scala> typeOf[Int] weak_<:< typeOf[Double]...docs.scala-lang.org/overviews/reflection/symbols-trees-types.htmlFri Feb 06 04:30:27 GMT 2026 93.6K bytes -
Concrete Parallel Collection Classes | Parallel...
ParArray[Int] = ParArray(1, 3, 5, 7, 9, 11,...scala> pa reduce (_ + _) res0: Int = 1000000 scala> pa map (x =>...docs.scala-lang.org/overviews/parallel-collections/concrete-parallel-collections.htmlFri Feb 06 04:30:27 GMT 2026 55.6K bytes -
Iterators | Collections | Scala Documentation
res10 : Int = 1 scala > bit . next () val res11 : Int = 1 scala...( it : Iterator [ Int ]) : Iterator [ Int ] scala > def collapse...docs.scala-lang.org/overviews/collections-2.13/iterators.htmlFri Feb 06 04:30:27 GMT 2026 105.7K bytes -
Concrete Mutable Collection Classes | Collectio...
mpty[Int] buf: scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer()...mpty[Int] buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer()...docs.scala-lang.org/overviews/collections/concrete-mutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 55.5K bytes -
抽象型メンバー | Scala Documentation
( e1 : Int , e2 : Int ) : SeqBuffer [ Int , Seq [ Int ]] = new...type U = Int } def newIntSeqBuf ( elem1 : Int , elem2 : Int ) : IntSeqBuffer...docs.scala-lang.org/ja/tour/abstract-type-members.htmlFri Feb 06 04:30:27 GMT 2026 148.7K bytes -
代数数据类型 | Scala 3 — Book | Scala Documentation
: case IntBox ( n: Int ) extends Box [ Int ]( n ) case BoolBox...枚举可以参数化: enum Color ( val rgb : Int ) : case Red extends Color (...docs.scala-lang.org/zh-cn/scala3/book/types-adts-gadts.htmlFri Feb 06 04:30:27 GMT 2026 453K bytes -
抽象类型 | Scala Documentation
( e1 : Int , e2 : Int ) : SeqBuffer [ Int , Seq [ Int ]] = new...type U = Int } def newIntSeqBuf ( elem1 : Int , elem2 : Int ) : IntSeqBuffer...docs.scala-lang.org/zh-cn/tour/abstract-type-members.htmlFri Feb 06 04:30:27 GMT 2026 210.2K bytes