class ExtendedIterable[T] extends AnyRef
Additional methods for Iterable objects
- Alphabetic
- By Inheritance
- ExtendedIterable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExtendedIterable(xs: GenIterable[T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def containsInOrder(l: T*): Boolean
- returns
true if the second iterable elements are contained in the first, in order
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- def mapFirst(f: (T) => T): GenSeq[T]
map the first element with a function
- def mapLast(f: (T) => T): Seq[T]
map the last element with a function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def rotate(n: Int): Iterable[T]
- returns
a sequence rotated of a number of elements
- def sameElementsAs(that: GenIterable[T], f: (T, T) => Boolean): Boolean
This recursive function is not really well-formed (the
asInstanceOfshould be ample proof).This recursive function is not really well-formed (the
asInstanceOfshould 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
- def sameElementsAs(that: GenIterable[T]): Boolean
- returns
true if the 2 iterables contain the same elements recursively, in any order
- def scramble(random: Random): Seq[T]
- returns
a randomly mixed sequence
- def scramble: Seq[T]
- returns
a randomly mixed sequence
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDeepString: String
- returns
the representation of the elements of the iterable using the toString method recursively
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated