private boolean isFuel(Object obj){
  Iterator<fuelEntry> currFuel=fuels.iterator();
  while (currFuel.hasNext()) {
    if (currFuel.next().fuel == obj)     return true;
  }
  return false;
}

private boolean isFuel ( Object obj ) { Iterator < fuelEntry > currFuel = fuels . iterator ( ) ; while ( currFuel . hasNext ( ) ) { if ( currFuel . next ( ) . fuel == obj ) return true ; } return false ; }
called by helper functions and to avoid confusion
