X Tutup
Skip to content

Commit 44f7c54

Browse files
committed
adding java doc
1 parent 51c477e commit 44f7c54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

elevator/src/main/java/com/lld/elevator/entities/ElevatorDisplay.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public void setDisplay(int floor, Direction direction) {
1414
this.direction = direction;
1515
}
1616

17+
/**
18+
* Method to show display
19+
*/
1720
public void showDisplay(){
1821
System.out.println(floor);
1922
System.out.println(direction);

0 commit comments

Comments
 (0)
X Tutup