Showing the changes to java/pkg/inferno/vm/Array.java (1 of 18352 files). Show all
Unified · Split
| @@ -0,0 +1,10 @@ | ||
| 1 | +// special Array wrapper class; all fields 'transient' to thwart serialization | |
| 2 | + | |
| 3 | +package inferno.vm; | |
| 4 | +public final | |
| 5 | +class Array implements Cloneable, java.io.Serializable { | |
| 6 | + private transient Object data; // Dis array | |
| 7 | + private transient int ndim; // number of dimensions | |
| 8 | + private transient Object adt; // 'ref Class' of elt. type (nil if primitive) | |
| 9 | + private transient int etype; // primitive elt. type code (0 if reference) | |
| 10 | +} | |