org.intranet.elevator.model.operate.controller
Class FloorContext
java.lang.Object
org.intranet.elevator.model.operate.controller.FloorContext
- class FloorContext
- extends java.lang.Object
FloorContext defines a range between floors, and includes enough information
to tell if a car is in that range, and what the stop at the end of the range
and the next stop after that range would be.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
previous
private Floor previous
next
private Floor next
successor
private Floor successor
FloorContext
FloorContext(Floor previous,
Floor next,
Floor successor)
getPrevious
Floor getPrevious()
getNext
Floor getNext()
getSuccessor
Floor getSuccessor()
contains
boolean contains(float height)
toString
public java.lang.String toString()