package entities; import java.util.*; public class Clear { private boolean value = false; public void updatePosition(Pair<Double> position) { boolean temp_if5; if ((position.getLeft()>100.0)) { temp_if5 = true; } else { temp_if5 = false; } value = temp_if5; } public boolean getValue() { return value; } }