public boolean isChecked(Check check) {
for (Measurement lookup : check.transcript) {
if (lookup.getWidth().longEnough().equals(true)>3) {
}
}
Hey there I am looking to check if a width is long enough 3 times in my program however I cannot run this due to the error "Cannot invoke equals(boolean) on the primitive type boolean"
Am at a bit of a loss to why. Could it be due to .longEnough() having already returning a boolean value
public boolean longEnough() {
return this.lengthpass;
}