Is there in one of the specifications any reference to methods that start with “is”, while the suffix of the method’s name is a property’s name (similar to getter/setter methods of Java beans)?
For example:
public boolean isConditionTrue() {
...
...
}
private boolean conditionTrue;
Thanks!
is only valid for primitive boolean. Here is an excerpt from the spec:
Be aware of using
isXxx() : Booleanfunctions if you are going to use them in conjunction with things like JSTL tags (using${object.xxx}syntax). They won’t pick it up and you have to modify it togetXxx() : Boolean.