Source code: joelib/util/types/StringInt.java
1 ///////////////////////////////////////////////////////////////////////////////
2 // Filename: $RCSfile: StringInt.java,v $
3 // Purpose: Atom representation.
4 // Language: Java
5 // Compiler: JDK 1.4
6 // Authors: Joerg K. Wegner
7 // Version: $Revision: 1.5 $
8 // $Date: 2003/08/19 13:11:29 $
9 // $Author: wegner $
10 //
11 // Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
12 //
13 // This program is free software; you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation version 2 of the License.
16 //
17 // This program is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 ///////////////////////////////////////////////////////////////////////////////
22 package joelib.util.types;
23
24
25 /*==========================================================================*
26 * IMPORTS
27 *========================================================================== */
28 /*==========================================================================*
29 * CLASS DECLARATION
30 *========================================================================== */
31
32 /**
33 * String and integer value.
34 *
35 * @author wegnerj
36 * @license GPL
37 * @cvsversion $Revision: 1.5 $, $Date: 2003/08/19 13:11:29 $
38 */
39 public class StringInt implements java.io.Serializable
40 {
41 //~ Instance fields ////////////////////////////////////////////////////////
42
43 /*-------------------------------------------------------------------------*
44 * public member variables
45 *------------------------------------------------------------------------- */
46
47 /**
48 * Description of the Field
49 */
50 public String s;
51
52 /**
53 * Description of the Field
54 */
55 public int i;
56
57 //~ Constructors ///////////////////////////////////////////////////////////
58
59 /*-------------------------------------------------------------------------*
60 * constructor
61 *------------------------------------------------------------------------- */
62
63 /**
64 * Constructor for the StringString object
65 *
66 * @param _s1 Description of the Parameter
67 * @param _s2 Description of the Parameter
68 */
69 public StringInt(String _s, int _i)
70 {
71 s = _s;
72 i = _i;
73 }
74 }
75 ///////////////////////////////////////////////////////////////////////////////
76 // END OF FILE.
77 ///////////////////////////////////////////////////////////////////////////////