private boolean isDistanceToRootCache(Direction direction){
  int directionOrdinal=direction.getDirection();
  Float f=mDistToRootCache[directionOrdinal];
  if (f < 0) {
    return false;
  }
  return true;
}

private boolean isDistanceToRootCache ( Direction direction ) { int directionOrdinal = direction . getDirection ( ) ; Float f = mDistToRootCache [ directionOrdinal ] ; if ( f < 0 ) { return false ; } return true ; }
is the distance to the root cached
