01 /*
02 * MutableInteger.java - A mutable wrapper for int, so you can return
03 * integer values via a method parameter
04 *
05 * Copyright (c) 1995-2010, The University of Sheffield. See the file
06 * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
07 *
08 * This file is part of GATE (see http://gate.ac.uk/), and is free
09 * software, licenced under the GNU Library General Public License,
10 * Version 2, June 1991 (in the distribution as file licence.html,
11 * and also available at http://gate.ac.uk/gate/licence.html).
12 *
13 * Hamish Cunningham, 24/07/98
14 *
15 * $Id: MutableInteger.java 12006 2009-12-01 17:24:28Z thomas_heitz $
16 */
17
18
19 package gate.jape;
20
21 /**
22 * A mutable wrapper for int, so you can return
23 * integer 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 MutableInteger implements java.io.Serializable
27 {
28 /** Debug flag */
29 private static final boolean DEBUG = false;
30
31 public int value = 0;
32
33 } // class MutableInteger
|