/**
* Launch GUI
*
- * @param args Program arguments from additionally passed parameters. Mandatory,
- * but never used here.
+ * @param args Program arguments from additionally passed parameters. Mandatory
+ * to have, but never used here.
*/
public static void main(String[] args) {
JFX.launch(args);
return sum;
}
+ /**
+ * Get the cumulative price for the amount of fuel stored for every fuel station
+ *
+ * => What you would get if you would sell all fuel of eveery station at the
+ * current price(s)
+ *
+ * @return the income in €
+ *
+ * @author Robin Cheney
+ *
+ * @see FuelStation#get_cumulative_retail_price()
+ */
public static double get_cumulative_retail_price() {
double sum = 0;
for (FuelStation station : fuelStations) {