scala.collection.TraversableViewLike.Appended

Transformed

trait Transformed[+B] extends TraversableView[B, Coll]

definition classes: TraversableViewLike

Inherits

  1. TraversableView
  2. TraversableViewLike
  3. Traversable
  4. GenericTraversableTemplate
  5. TraversableLike
  6. HasNewBuilder
  7. AnyRef
  8. Any

Type Members

  1. trait Appended[B >: A] extends Transformed[B]

  2. trait DroppedWhile extends Transformed[A]

  3. trait Filtered extends Transformed[A]

  4. trait FlatMapped[B] extends Transformed[B]

  5. trait Mapped[B] extends Transformed[B]

  6. trait Sliced extends Transformed[A]

    pre: from >= 0

  7. trait TakenWhile extends Transformed[A]

  8. trait Transformed[+B] extends TraversableView[B, Coll]

  9. class WithFilter extends AnyRef

    A class supporting filtered operations

Value Members

  1. def ++[B >: B, That](that: Iterator[B])(bf: CanBuildFrom[TraversableView[B, Coll], B, That]): That

    Concatenates this collection with the elements of an iterator

  2. def ++[B >: B, That](that: Traversable[B])(bf: CanBuildFrom[TraversableView[B, Coll], B, That]): That

    Concatenates this collection with the elements of a traversable collection

  3. def /:[B](z: B)(op: (B, B) ⇒ B): B

    Applies a binary operator to a start value and all elements of this collection, going left to right

  4. def :\[B](z: B)(op: (B, B) ⇒ B): B

    Applies a binary operator to all elements of this collection and a start value, going right to left

  5. def addString(b: StringBuilder): StringBuilder

    Appends all elements of this collection to a string builder

  6. def addString(b: StringBuilder, sep: String): StringBuilder

    Appends all elements of this collection to a string builder using a separator string

  7. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Appends all elements of this collection to a string builder using start, end, and separator strings

  8. def companion: GenericCompanion[Traversable[A][A]]

    The factory companion object that builds instances of class CC

  9. def copyToArray[B >: B](xs: Array[B]): Unit

    Copies elements of this collection to an array

  10. def copyToArray[B >: B](xs: Array[B], start: Int): Unit

    Copies elements of this collection to an array

  11. def copyToArray[B >: B](xs: Array[B], start: Int, len: Int): Unit

    Copies elements of this collection to an array

  12. def copyToBuffer[B >: B](dest: Buffer[B]): Unit

    Copies all elements of this collection to a buffer

  13. def count(p: (B) ⇒ Boolean): Int

    Counts the number of elements in the collection which satisfy a predicate

  14. def drop(n: Int): TraversableView[B, Coll]

    Selects all elements except first n ones

  15. def dropWhile(p: (B) ⇒ Boolean): TraversableView[B, Coll]

    Drops longest prefix of elements that satisfy a predicate

  16. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  17. def exists(p: (B) ⇒ Boolean): Boolean

    Tests whether a predicate holds for some of the elements of this collection

  18. def filter(p: (B) ⇒ Boolean): TraversableView[B, Coll]

    Selects all elements of this collection which satisfy a predicate

  19. def filterNot(p: (B) ⇒ Boolean): TraversableView[B, Coll]

    Selects all elements of this collection which do not satisfy a predicate

  20. def find(p: (B) ⇒ Boolean): Option[B]

    Finds the first element of the collection satisfying a predicate, if any

  21. def flatMap[B, That](f: (B) ⇒ Traversable[B])(bf: CanBuildFrom[TraversableView[B, Coll], B, That]): That

    Builds a new collection by applying a function to all elements of this collection and concatenating the results

  22. def flatten[B](asTraversable: (B) ⇒ Traversable[B]): Traversable[B]

    Converts this collection of traversable collections into a collection in which all element collections are concatenated

  23. def foldLeft[B](z: B)(op: (B, B) ⇒ B): B

    Applies a binary operator to a start value and all elements of this collection, going left to right

  24. def foldRight[B](z: B)(op: (B, B) ⇒ B): B

    Applies a binary operator to all elements of this collection and a start value, going right to left

  25. def forall(p: (B) ⇒ Boolean): Boolean

    Tests whether a predicate holds for all elements of this collection

  26. def force[B >: B, That](bf: CanBuildFrom[Coll, B, That]): That

  27. def foreach[U](f: (B) ⇒ U): Unit

    Applies a function f to all elements of this collection

  28. def genericBuilder[B]: Builder[B, Traversable[B]]

    The generic builder that builds instances of CC at arbitrary element types

  29. def groupBy[K](f: (B) ⇒ K): Map[K, TraversableView[B, Coll]]

    Partitions this collection into a map of collections according to some discriminator function

  30. def hasDefiniteSize: Boolean

    Tests whether this collection is known to have a finite size

  31. def hashCode(): Int

    Returns a hash code value for the object

  32. def head: B

    Selects the first element of this collection

  33. def headOption: Option[B]

    Optionally selects the first element

  34. def init: TraversableView[B, Coll]

    Selects all elements except the last

  35. def isEmpty: Boolean

    Tests whether this collection is empty

  36. def last: B

    Selects the last element

  37. def lastOption: Option[B]

    Optionally selects the last element

  38. def map[B, That](f: (B) ⇒ B)(bf: CanBuildFrom[TraversableView[B, Coll], B, That]): That

    Builds a new collection by applying a function to all elements of this collection

  39. def max[B >: B](cmp: Ordering[B]): B

    Finds the largest element

  40. def min[B >: B](cmp: Ordering[B]): B

    Finds the smallest element

  41. def mkString: String

    Displays all elements of this collection in a string

  42. def mkString(sep: String): String

    Displays all elements of this collection in a string using a separator string

  43. def mkString(start: String, sep: String, end: String): String

    Displays all elements of this collection in a string using start, end, and separator strings

  44. def nonEmpty: Boolean

    Tests whether the collection is not empty

  45. def partialMap[B, That](pf: PartialFunction[B, B])(bf: CanBuildFrom[TraversableView[B, Coll], B, That]): That

    Builds a new collection by applying a partial function to all elements of this collection on which the function is defined

  46. def partition(p: (B) ⇒ Boolean): (TraversableView[B, Coll], TraversableView[B, Coll])

    Partitions this collection in two collections according to a predicate

  47. def product[B >: B](num: Numeric[B]): B

    Multiplies up the elements of this collection

  48. def reduceLeft[B >: B](op: (B, B) ⇒ B): B

    Applies a binary operator to all elements of this collection, going left to right

  49. def reduceLeftOption[B >: B](op: (B, B) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this collection, going left to right

  50. def reduceRight[B >: B](op: (B, B) ⇒ B): B

    Applies a binary operator to all elements of this collection, going right to left

  51. def reduceRightOption[B >: B](op: (B, B) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this collection, going right to left

  52. def repr: TraversableView[B, Coll]

    The collection of type collection underlying this TraversableLike object

  53. def size: Int

    The size of this collection

  54. def slice(from: Int, until: Int): TraversableView[B, Coll]

    Selects an interval of elements

  55. def span(p: (B) ⇒ Boolean): (TraversableView[B, Coll], TraversableView[B, Coll])

    Spits this collection into a prefix/suffix pair according to a predicate

  56. def splitAt(n: Int): (TraversableView[B, Coll], TraversableView[B, Coll])

    Splits this collection into two at a given position

  57. def stringPrefix: String

    Defines the prefix of this object's toString representation

  58. def sum[B >: B](num: Numeric[B]): B

    Sums up the elements of this collection

  59. def tail: TraversableView[B, Coll]

    Selects all elements except the first

  60. def take(n: Int): TraversableView[B, Coll]

    Selects first n elements

  61. def takeWhile(p: (B) ⇒ Boolean): TraversableView[B, Coll]

    Takes longest prefix of elements that satisfy a predicate

  62. def toArray[B >: B](arg0: ClassManifest[B]): Array[B]

    Converts this collection to an array

  63. def toIndexedSeq[B >: B]: IndexedSeq[B]

    Converts this collection to an indexed sequence

  64. def toIterable: Iterable[B]

    Converts this collection to an iterable collection

  65. def toList: List[B]

    Converts this collection to a list

  66. def toSeq: Seq[B]

    Converts this collection to a sequence

  67. def toSet[B >: B]: Set[B]

    Converts this collection to a set

  68. def toStream: Stream[B]

    Converts this collection to a stream

  69. def toString(): String

    Converts this collection to a string

  70. def transpose[B](asTraversable: (B) ⇒ Traversable[B]): Traversable[Traversable[B]]

    Transposes this collection of traversable collections into

  71. var underlying: Coll

  72. def unzip[A1, A2](asPair: (B) ⇒ (A1, A2)): (Traversable[A1], Traversable[A2])

    Converts this collection of pairs into two collections of the first and second halfs of each pair

  73. def view(from: Int, until: Int): TraversableView[B, TraversableView[B, Coll]]

    Creates a non-strict view of a slice of this collection

  74. def view: TraversableView[B, TraversableView[B, Coll]]

    Creates a non-strict view of this collection

  75. def withFilter(p: (B) ⇒ Boolean): WithFilter

    Creates a non-strict filter of this collection