org.specs2.collection.Iterablex

ExtendedIterable

Related Doc: package Iterablex

class ExtendedIterable[T] extends AnyRef

Additional methods for Iterable objects

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExtendedIterable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtendedIterable(xs: GenIterable[T])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def containsInOrder(l: T*): Boolean

    returns

    true if the second iterable elements are contained in the first, in order

  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. def isSimilar[S >: T](that: GenIterable[S], f: (T, S) ⇒ Boolean): Boolean

    returns

    true if the 2 iterables contain the same elements, in the same order, according to a function f

  14. def mapFirst(f: (T) ⇒ T): GenSeq[T]

    map the first element with a function

  15. def mapLast(f: (T) ⇒ T): Seq[T]

    map the last element with a function

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def reduceWith[S](reducer: Reducer[T, S]): S

    reduce a list from left to right

  20. def rotate(n: Int): GenIterable[T]

    returns

    a sequence rotated of a number of elements

  21. def sameElementsAs(that: GenIterable[T], f: (T, T) ⇒ Boolean): Boolean

    This recursive function is not really well-formed (the asInstanceOf should be ample proof).

    This recursive function is not really well-formed (the asInstanceOf should be ample proof). It only works if T <===> Seq[T]

    This is the case for NodeFunctions.isEqualIgnoringSpace where it is used to check if 2 xml NodeSeqs have the same nodes regardless of whitespace

    returns

    true if the 2 iterables contain the same elements (according to a comparison function f) recursively, in any order

  22. def sameElementsAs(that: GenIterable[T]): Boolean

    returns

    true if the 2 iterables contain the same elements recursively, in any order

  23. def scramble(random: Random): Seq[T]

    returns

    a randomly mixed sequence

  24. def scramble: Seq[T]

    returns

    a randomly mixed sequence

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toDeepString: String

    returns

    the representation of the elements of the iterable using the toString method recursively

  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped