|
Scala 2
|
||
class
SeqProxy
[ A ]
extends
java.lang.Object with
Seq with
IterableProxy with
ScalaObjectSeq[A] represents finite sequences of elements
of type A.| Def Summary | |
def
apply
( n : scala.Int )
: A
Access element number n.
|
|
override
|
def
copyToArray
[ A <: B& ]
( xs : Array , start : scala.Int )
: Array
Fills the given array xs with the elements of
this sequence starting at position start.
|
override
|
def
drop
( n : scala.Int )
: Seq
Returns a new sub-sequence that drops the first n
elements of this sequence.
|
override
|
def
indexOf
[ A <: B& ]
( elem : B& )
: scala.Int
Returns the index of the first occurence of the specified object in this sequence. |
override
|
def
isDefinedAt
( y : scala.Int )
: scala.Boolean
Is this partial function defined for the index x?
|
override
|
def
lastIndexOf
[ A <: B& ]
( elem : B& )
: scala.Int
Returns the index of the last occurence of the specified element in this sequence, or -1 if the sequence does not contain this element. |
def
length
: scala.Int
Returns the length of the sequence. |
|
def
self
: Seq
|
|
override
|
def
subseq
( from : scala.Int , len : scala.Int )
: Seq
Returns a subsequence starting from index from
consisting of len elements.
|
override
|
def
take
( n : scala.Int )
: Seq
Returns the sub-sequence starting from index n.
|
override
|
def
toList
: List
Transform this sequence into a list of all elements. |
| Def Detail |
def
apply
( n : scala.Int ) : A
n.n.def
copyToArray
[ A <: B& ]( xs : Array , start : scala.Int ) : Array
xs with the elements of
this sequence starting at position start.xs filled with the elements
of this sequence.def
drop
( n : scala.Int ) : Seq
n
elements of this sequence.def
indexOf
[ A <: B& ]( elem : B& ) : scala.Int
def
isDefinedAt
( y : scala.Int ) : scala.Boolean
x?x is a legal sequence index.def
lastIndexOf
[ A <: B& ]( elem : B& ) : scala.Int
def
length
: scala.Int
def
self
: Seq
def
subseq
( from : scala.Int , len : scala.Int ) : Seq
from
consisting of len elements.def
take
( n : scala.Int ) : Seq
n.def
toList
: List