@Override
    public int hashCode() {
        return value ? 1 : 3;
    }
Create a boolean value which is frozen at the outset.
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/evaluation/BooleanValue.java