org.specs2.collection.Iterablex

ExtendedIterable

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    returns

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

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

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

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

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

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

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

    Definition Classes
    Any
  15. 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

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

    map the first element with a function

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

    map the last element with a function

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

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

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

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

    reduce a list from left to right

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

    returns

    a sequence rotated of a number of elements

  23. 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

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

    returns

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

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

    returns

    a randomly mixed sequence

  26. def scramble: Seq[T]

    returns

    a randomly mixed sequence

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

    Definition Classes
    AnyRef
  28. def toDeepString: String

    returns

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

  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped