File
Doc
Category
Size
Date
Package
ValueHolder.java
API Doc
Example
429
Tue Mar 30 23:14:16 BST 2004
com.oreilly.strutsckbk
ValueHolder
java.lang.Object
public class ValueHolder extends Object
Fields Summary
private int
value1
private int
value2
Constructors Summary
Methods Summary
public
int
getSum
()
return value1+value2;
public
int
getValue1
()
return value1;
public
int
getValue2
()
return value2;
public void
setValue1
(
int
value1)
this.value1 = value1;
public void
setValue2
(
int
value2)
this.value2 = value2;
Java Code Source