MutableBoolean.java |
1 /* 2 * MutableBoolean.java - A mutable wrapper for int, so you can return 3 * integer values via a method parameter 4 * 5 * Copyright (c) 1998-2005, The University of Sheffield. 6 * 7 * This file is part of GATE (see http://gate.ac.uk/), and is free 8 * software, licenced under the GNU Library General Public License, 9 * Version 2, June 1991 (in the distribution as file licence.html, 10 * and also available at http://gate.ac.uk/gate/licence.html). 11 * 12 * Hamish Cunningham, 30/09/98 13 * 14 * $Id: MutableBoolean.java,v 1.6 2005/01/11 13:51:36 ian Exp $ 15 */ 16 17 18 package gate.jape; 19 20 21 /** 22 * A mutable wrapper for bool, so you can return 23 * bool values via a method parameter. If public data members bother you 24 * I suggest you get a hobby, or have more sex or something. 25 */ 26 public class MutableBoolean 27 { 28 /** Debug flag */ 29 private static final boolean DEBUG = false; 30 31 public boolean value = false; 32 33 } // class MutableBoolean 34 35