scala.collection.IterableView

Appended

trait Appended[B >: A] extends Transformed[B] with Appended[B]

definition classes: IterableViewLikeTraversableViewLike

Inherits

  1. Appended
  2. Transformed
  3. Transformed
  4. IterableView
  5. IterableViewLike
  6. TraversableView
  7. TraversableViewLike
  8. Iterable
  9. IterableLike
  10. Equals
  11. Traversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. HasNewBuilder
  15. AnyRef
  16. Any

Type Members

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

  2. trait DroppedWhile extends Transformed[A] with DroppedWhile

  3. trait Filtered extends Transformed[A] with Filtered

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

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

  6. trait Sliced extends Transformed[A] with Sliced

    pre: from >= 0

  7. trait TakenWhile extends Transformed[A] with TakenWhile

  8. trait Transformed[+B] extends IterableView[B, Coll] with Transformed[B]

  9. class WithFilter extends AnyRef

    A class supporting filtered operations

  10. trait Zipped[B] extends Transformed[(A, B)]

  11. trait ZippedAll[A1 >: A, B] extends Transformed[(A1, B)]

Value Members

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

    Concatenates this iterable collection with the elements of an iterator

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

    Concatenates this iterable 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 iterable collection, going left to right

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

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

  5. def addString(b: StringBuilder): StringBuilder

    Appends all elements of this iterable collection to a string builder

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

    Appends all elements of this iterable 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 iterable collection to a string builder using start, end, and separator strings

  8. def canEqual(that: Any): Boolean

    Method called from equality methods, so that user-defined subclasses can refuse to be equal to other collections of the same kind

  9. def companion: GenericCompanion[Iterable[A][A]]

    The factory companion object that builds instances of class Iterable

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

    Copies elements of this iterable collection to an array

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

    Copies elements of this iterable collection to an array

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

    Copies elements of this iterable collection to an array

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

    Copies all elements of this iterable collection to a buffer

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

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

  15. def drop(n: Int): IterableView[B, Coll]

    Selects all elements except first n ones

  16. def dropRight(n: Int): IterableView[B, Coll]

    Selects all elements except first n ones

  17. def dropWhile(p: (B) ⇒ Boolean): IterableView[B, Coll]

    Drops longest prefix of elements that satisfy a predicate

  18. def elements: Iterator[B]

  19. def equals(arg0: Any): Boolean

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

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

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

  21. def filter(p: (B) ⇒ Boolean): IterableView[B, Coll]

    Selects all elements of this iterable collection which satisfy a predicate

  22. def filterNot(p: (B) ⇒ Boolean): IterableView[B, Coll]

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

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

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

  24. def first: B

  25. def firstOption: Option[B]

    None if iterable is empty

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

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

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

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

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

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

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

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

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

    Tests whether a predicate holds for all elements of this iterable collection

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

  32. def foreach[C](f: (B) ⇒ C): Unit

    Applies a function f to all elements of this iterable collection

  33. def genericBuilder[B]: Builder[B, Iterable[B]]

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

  34. def groupBy[K](f: (B) ⇒ K): Map[K, IterableView[B, Coll]]

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

  35. def hasDefiniteSize: Boolean

    Tests whether this iterable collection is known to have a finite size

  36. def hashCode(): Int

    Returns a hash code value for the object

  37. def head: B

    Selects the first element of this iterable collection

  38. def headOption: Option[B]

    Optionally selects the first element

  39. def init: IterableView[B, Coll]

    Selects all elements except the last

  40. def isEmpty: Boolean

    Tests whether this iterable collection is empty

  41. def iterator: Iterator[B]

    Creates a new iterator over all elements contained in this iterable object

  42. def last: B

    Selects the last element

  43. def lastOption: Option[B]

    Optionally selects the last element

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

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

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

    Finds the largest element

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

    Finds the smallest element

  47. def mkString: String

    Displays all elements of this iterable collection in a string

  48. def mkString(sep: String): String

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

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

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

  50. def nonEmpty: Boolean

    Tests whether the iterable collection is not empty

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

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

  52. def partition(p: (B) ⇒ Boolean): (IterableView[B, Coll], IterableView[B, Coll])

    Partitions this iterable collection in two iterable collections according to a predicate

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

    Multiplies up the elements of this collection

  54. def projection: IterableView[B, IterableView[B, Coll]]

    returns a projection that can be used to call non-strict filter,map, and flatMap methods that build projections of the collection

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

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

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

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

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

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

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

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

  59. def repr: IterableView[B, Coll]

    The collection of type iterable collection underlying this TraversableLike object

  60. def sameElements[B >: B](that: Iterable[B]): Boolean

    Checks if the other iterable collection contains the same elements in the same order as this iterable collection

  61. def size: Int

    The size of this iterable collection

  62. def slice(from: Int, until: Int): IterableView[B, Coll]

    Selects an interval of elements

  63. def span(p: (B) ⇒ Boolean): (IterableView[B, Coll], IterableView[B, Coll])

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

  64. def splitAt(n: Int): (IterableView[B, Coll], IterableView[B, Coll])

    Splits this iterable collection into two at a given position

  65. def stringPrefix: String

    Defines the prefix of this object's toString representation

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

    Sums up the elements of this collection

  67. def tail: IterableView[B, Coll]

    Selects all elements except the first

  68. def take(n: Int): IterableView[B, Coll]

    Selects first n elements

  69. def takeRight(n: Int): IterableView[B, Coll]

    Selects last n elements

  70. def takeWhile(p: (B) ⇒ Boolean): IterableView[B, Coll]

    Takes longest prefix of elements that satisfy a predicate

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

    Converts this iterable collection to an array

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

    Converts this iterable collection to an indexed sequence

  73. def toIterable: Iterable[B]

    Converts this iterable collection to an iterable collection

  74. def toList: List[B]

    Converts this iterable collection to a list

  75. def toSeq: Seq[B]

    Converts this iterable collection to a sequence

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

    Converts this iterable collection to a set

  77. def toStream: Stream[B]

    Converts this iterable collection to a stream

  78. def toString(): String

    Converts this iterable collection to a string

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

    Transposes this iterable collection of traversable collections into

  80. var underlying: Coll

  81. def unzip[A1, A2](asPair: (B) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

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

  82. def view(from: Int, until: Int): IterableView[B, IterableView[B, Coll]]

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

  83. def view: IterableView[B, IterableView[B, Coll]]

    Creates a non-strict view of this iterable collection

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

    Creates a non-strict filter of this iterable collection

  85. def zip[A1 >: B, B, That](that: Iterable[B])(bf: CanBuildFrom[IterableView[B, Coll], (A1, B), That]): That

    Returns a iterable collection formed from this iterable collection and another iterable collection by combining corresponding elements in pairs

  86. def zipAll[B, A1 >: B, That](that: Iterable[B], thisElem: A1, thatElem: B)(bf: CanBuildFrom[IterableView[B, Coll], (A1, B), That]): That

    Returns a iterable collection formed from this iterable collection and another iterable collection by combining corresponding elements in pairs

  87. def zipWithIndex[A1 >: B, That](bf: CanBuildFrom[IterableView[B, Coll], (A1, Int), That]): That

    Zips this iterable collection with its indices