|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netlib.util.ArraySpec
public class ArraySpec
This class represents array arguments to I/O calls. For example, if you pass an array to WRITE() in Fortran and the format specifies to print multiple values, they'll be pulled from the array as appropriate. Here, we just pull all the array elements into the I/O vector.
This file is part of the Fortran-to-Java (f2j) system, developed at the University of Tennessee.
Constructor Summary | |
---|---|
ArraySpec(double[] arr,
int offset,
int len)
Create a new ArraySpec for a double precision array. |
|
ArraySpec(float[] arr,
int offset,
int len)
Create a new ArraySpec for a float array. |
|
ArraySpec(int[] arr,
int offset,
int len)
Create a new ArraySpec for an integer array. |
|
ArraySpec(java.lang.String str)
Create a new ArraySpec for a String (not array). |
|
ArraySpec(java.lang.String[] arr,
int offset,
int len)
Create a new ArraySpec for a String array. |
Method Summary | |
---|---|
java.util.Vector |
get_vec()
Gets the I/O vector for this ArraySpec. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArraySpec(int[] arr, int offset, int len)
arr
- The array to be used in the I/O calloffset
- The offset into the array (i.e. the start point)len
- The number of elements to copy from the
array to the I/O vector.public ArraySpec(double[] arr, int offset, int len)
arr
- The array to be used in the I/O calloffset
- The offset into the array (i.e. the start point)len
- The number of elements to copy from the
array to the I/O vector.public ArraySpec(float[] arr, int offset, int len)
arr
- The array to be used in the I/O calloffset
- The offset into the array (i.e. the start point)len
- The number of elements to copy from the
array to the I/O vector.public ArraySpec(java.lang.String[] arr, int offset, int len)
arr
- The array to be used in the I/O calloffset
- The offset into the array (i.e. the start point)len
- The number of elements to copy from the
array to the I/O vector.public ArraySpec(java.lang.String str)
arr
- The string to be used in the I/O callMethod Detail |
---|
public java.util.Vector get_vec()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |