I need a mutable boolean field in Java (I will return this field via get* method later and it should be possible to modify this field).
Boolean doesn\'t work because
What about just using the boolean primitive?
private boolean value; public void setValue(boolean value) { this.value = value; } public boolean getValue() { return value; }