Class Direction

java.lang.Object
  |
  +--Direction

class Direction
extends java.lang.Object

The class Direction implements the moving-status of a elevator


Field Summary
(package private) static int DOWN
          Direction.DOWN means that the elevator moves down at the moment
(package private) static int NONE
          Direction.NONE means that the elevator doesn't move at the moment
(package private) static int UP
          Direction.UP means that the elevator moves up at the moment
 
Constructor Summary
(package private) Direction()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

static final int NONE
Direction.NONE means that the elevator doesn't move at the moment

UP

static final int UP
Direction.UP means that the elevator moves up at the moment

DOWN

static final int DOWN
Direction.DOWN means that the elevator moves down at the moment
Constructor Detail

Direction

Direction()