View Javadoc
1   package au.gov.amsa.geo.distance;
2   
3   import au.gov.amsa.risky.format.Fix;
4   
5   public class EffectiveSpeedCheck {
6       private final Fix fix;
7       private final boolean ok;
8   
9       public EffectiveSpeedCheck(Fix fix, boolean ok) {
10          this.fix = fix;
11          this.ok = ok;
12      }
13  
14      public Fix fix() {
15          return fix;
16      }
17  
18      public boolean isOk() {
19          return ok;
20      }
21  
22      @Override
23      public String toString() {
24          StringBuilder builder = new StringBuilder();
25          builder.append("EffectiveSpeedCheck [fix=");
26          builder.append(fix);
27          builder.append(", ok=");
28          builder.append(ok);
29          builder.append("]");
30          return builder.toString();
31      }
32  
33  }