1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package javax.xml.rpc.holders;
17
18 /**
19 * Holder for <code>int</code>s.
20 *
21 * @version 1.0
22 */
23 public final class IntHolder implements Holder {
24
25 /** The <code>int</code> contained by this holder. */
26 public int value;
27
28 /**
29 * Make a new <code>IntHolder</code> with a <code>null</code> value.
30 */
31 public IntHolder() {}
32
33 /**
34 * Make a new <code>IntHolder</code> with <code>value</code> as
35 * the value.
36 *
37 * @param value the <code>int</code> to hold
38 */
39 public IntHolder(int value) {
40 this.value = value;
41 }
42 }
43