not really https://en.wikipedia.org/wiki/Test-driven_development but somewhere around
This commit is contained in:
parent
2105d3e8cf
commit
8bdca76c3d
|
@ -27,6 +27,7 @@ public class Field {
|
|||
private final int bitOffset;
|
||||
private final String[] options;
|
||||
private double scale = 1;
|
||||
private int baseOffset;
|
||||
|
||||
public Field(String name, int offset, FieldType type) {
|
||||
this(name, offset, type, NO_BIT_OFFSET);
|
||||
|
@ -269,6 +270,11 @@ public class Field {
|
|||
return this;
|
||||
}
|
||||
|
||||
public Field setBaseOffset(int baseOffset) {
|
||||
this.baseOffset = baseOffset;
|
||||
return this;
|
||||
}
|
||||
|
||||
public double getScale() {
|
||||
return scale;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue