Trait/Object

zipper.Zipper

MoveResult

Related Docs: object MoveResult | package Zipper

Permalink

sealed trait MoveResult[A] extends AnyRef

A result of moving a zipper, which can be either successful or not

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MoveResult
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def origin: Zipper[A]

    Permalink

    The starting point of the move

Concrete 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
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def flatMap(move: Move[A]): MoveResult[A]

    Permalink

    Try another move on the resulting zipper, if the current move did not fail

  10. def get: Zipper[A]

    Permalink

    Obtain the resulting zipper or throw an exception if the move failed

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getOrElse(other: Zipper[A]): Zipper[A]

    Permalink

    Try another zipper if the current move failed

  13. def getOrElse(other: (Zipper[A]) ⇒ Zipper[A]): Zipper[A]

    Permalink

    Try another safe move if the current move failed

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def map(f: (Zipper[A]) ⇒ Zipper[A]): MoveResult[A]

    Permalink

    Safely move the resulting zipper, if the current move did not fail

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def orElse(other: ⇒ MoveResult[A]): MoveResult[A]

    Permalink

    Try a result of another move if the current move failed

  21. def orElse(other: Move[A]): MoveResult[A]

    Permalink

    Try another move if the current move failed

  22. def orStay: Zipper[A]

    Permalink

    Obtain the resulting zipper or the original zipper in case the move failed

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

    Permalink
    Definition Classes
    AnyRef
  24. def toOption: Option[Zipper[A]]

    Permalink

    Obtain the resulting zipper or None if the move failed

  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withOrigin(origin: Zipper[A]): Product with Serializable with MoveResult[A]

    Permalink

    Change the starting point of the move

Inherited from AnyRef

Inherited from Any

Ungrouped