class StepperExtensions[A] extends AnyRef
- Alphabetic
- By Inheritance
- StepperExtensions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StepperExtensions(s: Stepper[A])
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
- def accumulate[C](implicit info: AccumulatorFactoryInfo[A, C]): C
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def count(p: (A) => Boolean): Long
Consumes all remaining elements in this
Stepper
and counts how many satisfy conditionp
.Consumes all remaining elements in this
Stepper
and counts how many satisfy conditionp
. This is a terminal operation. - def count(): Long
Consumes all remaining elements in this
Stepper
and counts how many there are.Consumes all remaining elements in this
Stepper
and counts how many there are. This is a terminal operation. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists(p: (A) => Boolean): Boolean
Searches for an element that satisfies condition
p
.Searches for an element that satisfies condition
p
. If none are found, it returnsfalse
. This is a terminal operation. - def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: (A) => Boolean): Option[A]
Searches for an element that satisifes condition
p
, returning it wrapped inSome
if one is found, orNone
otherwise.Searches for an element that satisifes condition
p
, returning it wrapped inSome
if one is found, orNone
otherwise. This is a terminal operation. - def fold[B](zero: B)(op: (B, A) => B): B
Repeatedly applies
op
to propagate an initial valuezero
through all elements of the collection.Repeatedly applies
op
to propagate an initial valuezero
through all elements of the collection. Traversal order is left-to-right. This is a terminal operation. - def foldTo[B](zero: B)(op: (B, A) => B)(p: (B) => Boolean): B
Repeatedly applies
op
to propagate an initial valuezero
through the collection until a conditionp
is met.Repeatedly applies
op
to propagate an initial valuezero
through the collection until a conditionp
is met. Ifp
is never met, the result of the last operation is returned. This is a terminal operation. - def foreach(f: (A) => Unit): Unit
Applies
f
to every remaining element in the collection.Applies
f
to every remaining element in the collection. This is a terminal operation. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def reduce(op: (A, A) => A): A
Repeatedly merges elements with
op
until only a single element remains.Repeatedly merges elements with
op
until only a single element remains. Throws an exception if theStepper
is empty. Merging occurs from left to right. This is a terminal operation. - def substep(): Stepper[A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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]) @native()