in scala
object Seq

`object` Seq
  `extends` java.lang.Object
  `with` scala.ScalaObject

Constructor Summary
| `def` this

Val Summary
| `val` empty : scala.Seq[scala.Nothing] The empty sequence

Def Summary
| `def` single [A] (x: A) : scala.Seq[A] Builds a singleton sequence.
| `def` unapplySeq [A] (x: scala.Any) : scala.Option[scala.Seq[A]] This method is called in a pattern match { case Seq(...) => }.

Constructor Detail

`def` this

Val Detail

`val` empty : scala.Seq[scala.Nothing]

  The empty sequence

Def Detail

`def` single [A](x: A): scala.Seq[A]

  Builds a singleton sequence.

Parameters:
  `x -` ...
Returns:
  ...

`def` unapplySeq [A](x: scala.Any): scala.Option[scala.Seq[A]]

  This method is called in a pattern match { case Seq(...) => }.

Parameters:
  `x -` the selector value
Returns:
  sequence wrapped in an option, if this is a Seq, otherwise none