01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package test;
10:
11: /**
12: * @version $Revision: 1.4 $
13: * @see
14: */
15: public class MutableBoolean {
16: private boolean m_value;
17:
18: public MutableBoolean(boolean value) {
19: set(value);
20: }
21:
22: public boolean get() {
23: return m_value;
24: }
25:
26: public void set(boolean value) {
27: m_value = value;
28: }
29: }
|