Class

org.specs2.collection.Iterablex

ExtendedIterable

Related Doc: package Iterablex

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    returns

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

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

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

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

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

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

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

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

    Permalink

    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]

    Permalink

    map the first element with a function

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

    Permalink

    map the last element with a function

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

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

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

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

    Permalink

    reduce a list from left to right

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

    Permalink

    returns

    a sequence rotated of a number of elements

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

    Permalink

    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

    Permalink

    returns

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

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

    Permalink

    returns

    a randomly mixed sequence

  24. def scramble: Seq[T]

    Permalink

    returns

    a randomly mixed sequence

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

    Permalink
    Definition Classes
    AnyRef
  26. def toDeepString: String

    Permalink

    returns

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

  27. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped