| MutableBoolean |

    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-2001, 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.4 2000/11/08 16:35:03 hamish 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

| MutableBoolean |