sealed trait MoveResult[A] extends AnyRef
A result of moving a zipper, which can be either successful or not
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- MoveResult
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Concrete 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]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def flatMap(move: Move[A]): MoveResult[A]
Try another move on the resulting zipper, if the current move did not fail
- def get: Zipper[A]
Obtain the resulting zipper or throw an exception if the move failed
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getOrElse(other: Zipper[A]): Zipper[A]
Try another zipper if the current move failed
- def getOrElse(other: (Zipper[A]) => Zipper[A]): Zipper[A]
Try another safe move if the current move failed
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map(f: (Zipper[A]) => Zipper[A]): MoveResult[A]
Safely move the resulting zipper, if the current move did not fail
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def orElse(other: => MoveResult[A]): MoveResult[A]
Try a result of another move if the current move failed
- def orElse(other: Move[A]): MoveResult[A]
Try another move if the current move failed
- def orStay: Zipper[A]
Obtain the resulting zipper or the original zipper in case the move failed
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toOption: Option[Zipper[A]]
Obtain the resulting zipper or None if the move failed
- 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])
- def withOrigin(origin: Zipper[A]): Product with MoveResult[A] with Serializable
Change the starting point of the move
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)