/[cvs]/commonJava/src/commonJava/util/IntWithString.java
ViewVC logotype

Contents of /commonJava/src/commonJava/util/IntWithString.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Thu Nov 6 09:58:41 2003 UTC (22 years, 1 month ago) by bobby
Branch: MAIN, TDT
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
First import

1 package commonJava.util;
2
3 /**
4 * Just a simple tuple.
5 * @author <a href="mailto:pt00rsa@student.bth.se">Robert &quot;Bobby&quot; Sandell</a>
6 */
7 public class IntWithString {
8 private String mText;
9 private int mValue;
10
11 public IntWithString(int pValue, String pText) {
12 mValue = pValue;
13 mText = pText;
14 }
15
16 public IntWithString(String pText, int pValue) {
17 mValue = pValue;
18 mText = pText;
19 }
20
21 public int getValue() {
22 return mValue;
23 }
24
25 public String toString() {
26 return mText;
27 }
28 }

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26