|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<JDynArray>
com.jbase.jremote.JSubroutineParameters
public class JSubroutineParameters
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 FormNested Class Summary |
---|
Nested classes/interfaces inherited from interface com.jbase.jremote.io.JBaseSerializable |
---|
JBaseSerializable.TYPE |
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
JSubroutineParameters()
|
Method Summary | |
---|---|
int |
getType()
|
int |
getVersion()
|
void |
readObject(JBaseObjectReader reader,
int version)
|
void |
writeObject(JBaseObjectWriter writer,
int version)
|
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public JSubroutineParameters()
Method Detail |
---|
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
|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |