01: /*
02: * Created on 4 Sep 2007
03: */
04: package uk.org.ponder.booleanutil;
05:
06: public class BooleanHolder implements BooleanGetter {
07: private Boolean bollean = Boolean.FALSE;
08:
09: public BooleanHolder() {
10: }
11:
12: public BooleanHolder(boolean bollean) {
13: this .bollean = bollean ? Boolean.TRUE : Boolean.FALSE;
14: }
15:
16: public Boolean get() {
17: return bollean;
18: }
19:
20: public void set(Boolean bollean) {
21: this.bollean = bollean;
22: }
23: }
|