Skip to content
Snippets Groups Projects
Commit 68a540ca authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

Reformatted according to SOFT160 coding style

parent 0af262ee
Branches
Tags
No related merge requests found
package edu.unl.cse.soft160.loops;
import java.util.ArrayList;
import java.util.List;
import java.time.LocalDate;
public class App {
/* TASK 1 */
public static LocalDate getDateForLowestTemperature(List<Observation> observations) {
return null;
}
/* TASK 2 */
public static Double getLowestTemperatureBetweenTwoDates(List<Observation> observations,
LocalDate date1, LocalDate date2) {
return null;
}
/* TASK 3 */
public static List<Double> getExtremeTemperatures(List<Observation> observations) {
return new ArrayList<Double>();
}
/* TASK 4 */
public static Double getMostRecentExtremeTemperature(List<Observation> observations) {
return null;
}
}
...@@ -6,7 +6,6 @@ public class Observation { ...@@ -6,7 +6,6 @@ public class Observation {
private Double measurement; private Double measurement;
private LocalDate date; private LocalDate date;
public Observation(Double measurement, LocalDate date) { public Observation(Double measurement, LocalDate date) {
this.measurement = measurement; this.measurement = measurement;
this.date = date; this.date = date;
......
package edu.unl.cse.soft160.loops;
import java.util.ArrayList;
import java.util.List;
import java.time.LocalDate;
public class TemperatureAnalysis {
/* TASK 1 */
public static LocalDate getDateForLowestTemperature(List<Observation> observations) {
return null;
}
/* TASK 2 */
public static Double getLowestTemperatureBetweenTwoDates(List<Observation> observations,
LocalDate date1, LocalDate date2) {
return null;
}
/* TASK 3 */
public static List<Double> getExtremeTemperatures(List<Observation> observations) {
return new ArrayList<Double>();
}
/* TASK 4 */
public static Double getMostRecentExtremeTemperature(List<Observation> observations) {
return null;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment