in scala
trait SeqProxy

`abstract trait` SeqProxy [A]
  `extends` java.lang.Object
  `with` scala.Seq[A]
  `with` scala.IterableProxy[A]
  `with` scala.ScalaObject

  Class `Seq[A]` represents finite sequences of elements of type `A`.

Author:
  Martin Odersky
Author:
  Matthias Zenger
Version:
  1.0, 16/07/2003

Direct Known Subclasses:
  StackProxy, QueueProxy

Def Summary
| `def` apply (n: scala.Int) : A Access element number `n`.
`override` | `def` copyToArray [A <: B] (xs: scala.Array[B], start: scala.Int) : scala.Array[B] Fills the given array `xs` with the elements of this sequence starting at position `start`.
`override` | `def` drop (n: scala.Int) : scala.Seq[A] 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.
`abstract` | `def` self : scala.Seq[A]
`override` | `def` subseq (from: scala.Int, len: scala.Int) : scala.Seq[A] Returns a subsequence starting from index `from` consisting of `len` elements.
`override` | `def` take (n: scala.Int) : scala.Seq[A] Returns the sub-sequence starting from index `n`.

Def Detail

`def` apply (n: scala.Int): A

  Access element number `n`.

Returns:
  the element at index `n`.

`override def` copyToArray [A <: B](xs: scala.Array[B], start: scala.Int): scala.Array[B]

  Fills the given array `xs` with the elements of this sequence starting at position `start`.

Parameters:
  `xs -` the array to fill.
Parameters:
  `start -` starting index.
Returns:
  the given array `xs` filled with the elements of this sequence.

`override def` drop (n: scala.Int): scala.Seq[A]

  Returns a new sub-sequence that drops the first `n` elements of this sequence.

Parameters:
  `n -` ...
Returns:
  ...

`override def` indexOf [A <: B](elem: B): scala.Int

  Returns the index of the first occurence of the specified object in this sequence.

Parameters:
  `elem -` element to search for.
Returns:
  the index in this sequence of the first occurence of the specified element, or -1 if the sequence does not contain this element.

`override def` isDefinedAt (y: scala.Int): scala.Boolean

  Is this partial function defined for the index `x`?

Returns:
  true, iff `x` is a legal sequence index.

`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.

Parameters:
  `elem -` element to search for.
Returns:
  the index in this sequence of the last occurence of the specified element, or -1 if the sequence does not contain this element.

`def` length : scala.Int

  Returns the length of the sequence.

Returns:
  the sequence length.

`abstract def` self : scala.Seq[A]

`override def` subseq (from: scala.Int, len: scala.Int): scala.Seq[A]

  Returns a subsequence starting from index `from` consisting of `len` elements.

Parameters:
  `from -` ...
Parameters:
  `len -` ...

`override def` take (n: scala.Int): scala.Seq[A]

  Returns the sub-sequence starting from index `n`.

Parameters:
  `n -` ...
Returns:
  ...