title: what would this be as an if statement
body: <pre><code>private String adjustDirection(String direction) {
  
          return (currentFloor == Building.FLOORS)
                  ? "down"
                  : ((currentFloor == 1) ? "up" : direction);
      }
  
  </code></pre>
  
  <p>Hi, I'm having a hard time understanding this, what would be an easier way to write it ?</p>