Packages

  • package root
    Definition Classes
    root
  • package o1
    Definition Classes
    root
  • package grid

    This package contains tools for working with grid-like two-dimensional structures.

    This package contains tools for working with grid-like two-dimensional structures.

    The contents of this package have aliases in the top-level package o1, so they are accessible to students simply via import o1._.

    Definition Classes
    o1
  • object CompassDir extends Serializable

    This companion object of class CompassDir provides a selection of related constants and utility methods.

    This companion object of class CompassDir provides a selection of related constants and utility methods.

    This object has an alias in the top-level package o1, so it’s accessible to students simply via import o1._.

    Definition Classes
    grid
  • East
  • North
  • South
  • West

object West extends CompassDir with Product with Serializable

This immutable singleton object represents the westwardly compass direction. It’s one of the four predefined instances of class CompassDir. It has an alias in the top-level package o1, so it’s accessible to students simply via import o1._.

Linear Supertypes
CompassDir, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. West
  2. CompassDir
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clockwise: CompassDir

    Returns the next of the four compass directions, moving clockwise from this one.

    Returns the next of the four compass directions, moving clockwise from this one. For instance, calling this method on North returns East.

    Definition Classes
    CompassDir
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def counterClockwise: CompassDir

    Returns the next of the four compass directions, moving counterclockwise from this one.

    Returns the next of the four compass directions, moving counterclockwise from this one. For instance, calling this method on North returns West.

    Definition Classes
    CompassDir
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def productElementName(n: Int): String
    Definition Classes
    Product
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString: String

    Returns a textual description of this direction, which is the English name of the direction.

    Returns a textual description of this direction, which is the English name of the direction.

    Definition Classes
    CompassDir → AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. val xStep: Int
    Definition Classes
    CompassDir
  23. val yStep: Int
    Definition Classes
    CompassDir

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from CompassDir

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped