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
    @HotSpotIntrinsicCandidate() @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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean

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

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

    Permalink

    map the first element with a function

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

    Permalink

    map the last element with a function

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def rotate(n: Int): GenIterable[T]

    Permalink

    returns

    a sequence rotated of a number of elements

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

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

    Permalink

    returns

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

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

    Permalink

    returns

    a randomly mixed sequence

  22. def scramble: Seq[T]

    Permalink

    returns

    a randomly mixed sequence

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

    Permalink
    Definition Classes
    AnyRef
  24. def toDeepString: String

    Permalink

    returns

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

  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped