Object/Class

in.tamchow.turing

MoveDirection

Related Docs: class MoveDirection | package turing

Permalink

object MoveDirection extends Serializable

Indicates the directions in which the tape head can move:

1. MoveDirection.Left -> Left (head index - 1)

2. MoveDirection.Right -> Right (head index + 1)

3. MoveDirection.Neither -> Neither left nor right (head index +/- 0 = head index)

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MoveDirection
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val IllegalTypeMessage: String

    Permalink

    Exception message for illegal type identifier

  5. val Left: MoveDirection

    Permalink

    Indicates tape head moving left (head index - 1)

  6. val Neither: MoveDirection

    Permalink

    Indicates tape head moving Neither left nor right (head index +/- 0 = head index)

  7. val Right: MoveDirection

    Permalink

    Indicates tape head moving right (head index - 1)

  8. def apply(name: String): MoveDirection

    Permalink

    Creates a MoveDirection object from a String

    Creates a MoveDirection object from a String

    name

    the argument determining the MoveDirection which is returned

    returns

    a MoveDirection object

  9. def apply(value: Int): MoveDirection

    Permalink

    Creates a MoveDirection object from an Int

    Creates a MoveDirection object from an Int

    value

    the argument determining the MoveDirection which is returned

    returns

    a MoveDirection object

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def parse(data: String): MoveDirection

    Permalink

    Results:

    Results:

    1. Any negative Int value or case-insensitive match to MoveDirection.Left.name-> MoveDirection.Left

    2. Any positive Int value or case-insensitive match to MoveDirection.Right.name-> MoveDirection.Right

    3. A Zero (0) Int value or case-insensitive match to MoveDirection.Neither.name-> MoveDirection.Neither

    data

    the String to parse into a MoveDirection

    returns

    a MoveDirection object based on the parameters

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped