May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The various holder classes allow Java to support out parameters. Because Java only passes objects by value, it has no way to let you modify a parameter value and pass the modified value back. A holder contains a value member variable that contains the holder's value.
value
The value member variable contains the value that this holder holds. The type of the variable is different for each type of holder. For an AnyHolder, the data type is Any. For an IntHolder, the type is int.
_read public void _read(InputStream input)
Populates the holder data from the specified stream.
_type public TypeCode _type()
Returns a TypeCode describing the type of object held by this holder.
_write public void _write(OutputStream output) ...
Read now
Unlock full access