Copied data types
One overloaded method is used to create transfer object in Java:
public static TranStruct
newDistOb (type data);
where type may be:
char byte short int long
float double String
int[] float[] double[] String[]
To pass an array of byte, short or float, convert to int or double first.
Previous slide
Next slide
Back to first slide
View graphic version