public class JSubroutineParameters extends java.util.ArrayList<JDynArray> implements JBaseSerializable
A list of parameters to pass to a jBASE subroutine.
JSubroutineParameters is based on ArrayList and its typical usage is as
follows:
JSubroutineParameters subroutineParams = new JSubroutineParameters();
subroutineParams.add(new JDynArray());
subroutineParams.add(new JDynArray("two"));
subroutineParams.add(null);
subroutineParams.add(new JDynArray());
subroutineParams.add(new JDynArray("five"));
Adding null elements is permitted and the above example will provide five
parameters to a subroutine.
JConnection.call(java.lang.String, com.jbase.jremote.JSubroutineParameters)
,
Serialized FormJBaseSerializable.TYPE
Constructor and Description |
---|
JSubroutineParameters() |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
int |
getVersion() |
void |
readObject(JBaseObjectReader reader,
int version) |
void |
writeObject(JBaseObjectWriter writer,
int version) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public int getType()
getType
in interface JBaseSerializable
public int getVersion()
getVersion
in interface JBaseSerializable
public void writeObject(JBaseObjectWriter writer, int version) throws java.io.IOException
writeObject
in interface JBaseSerializable
java.io.IOException
public void readObject(JBaseObjectReader reader, int version) throws java.io.IOException, java.lang.ClassNotFoundException
readObject
in interface JBaseSerializable
java.io.IOException
java.lang.ClassNotFoundException