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>byte</code>s.
20 *
21 * @version 1.0
22 */
23 public final class ByteHolder implements Holder {
24
25 /** The <code>byte</code> contained by this holder. */
26 public byte value;
27
28 /**
29 * Make a new <code>ByteHolder</code> with a <code>null</code> value.
30 */
31 public ByteHolder() {}
32
33 /**
34 * Make a new <code>ByteHolder</code> with <code>value</code> as
35 * the value.
36 *
37 * @param value the <code>byte</code> to hold
38 */
39 public ByteHolder(byte value) {
40 this.value = value;
41 }
42 }
43