final class IterableDecorator[A] extends AnyVal
- Alphabetic
- By Inheritance
- IterableDecorator
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IterableDecorator(this: Iterable[A])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to any2stringadd[IterableDecorator[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (IterableDecorator[A], B)
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to ArrowAssoc[IterableDecorator[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (IterableDecorator[A]) ⇒ Boolean, msg: ⇒ Any): IterableDecorator[A]
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to Ensuring[IterableDecorator[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (IterableDecorator[A]) ⇒ Boolean): IterableDecorator[A]
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to Ensuring[IterableDecorator[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): IterableDecorator[A]
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to Ensuring[IterableDecorator[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): IterableDecorator[A]
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to Ensuring[IterableDecorator[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
foldSomeLeft[B](z: B)(op: (B, A) ⇒ Option[B]): B
Left to right fold that stops if the combination function
opreturnsNoneLeft to right fold that stops if the combination function
opreturnsNone- B
the result type of the binary operator
- z
the start value
- op
the binary operator
- returns
the result of inserting
opbetween consecutive elements of the collection, going left to right with the start valuezon the left, and stopping when all the elements have been traversed or earlier if the operator returnsNone
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to StringFormat[IterableDecorator[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lazyFoldRight[B](z: B)(op: (A) ⇒ Either[B, (B) ⇒ B]): B
Right to left fold that can be interrupted before traversing the whole collection.
Right to left fold that can be interrupted before traversing the whole collection.
- B
the result type
- z
the start value
- op
the operator
- returns
the result of applying the operator between consecutive elements of the collection, going right to left, with the start value
zon the right. The result of the application of the functionopto each element drives the process: if it returnsLeft(result), thenresultis returned without iterating further; if it returnsRight(f), the functionfis applied to the previous result to produce the new result and the fold continues.
- val this: Iterable[A]
-
def
toString(): String
- Definition Classes
- Any
-
def
→[B](y: B): (IterableDecorator[A], B)
- Implicit
- This member is added by an implicit conversion from IterableDecorator[A] to ArrowAssoc[IterableDecorator[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc