com.jbase.jremote
Class JSubroutineParameters
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<JDynArray>
com.jbase.jremote.JSubroutineParameters
- All Implemented Interfaces:
- JBaseSerializable, Serializable, Cloneable, Iterable<JDynArray>, Collection<JDynArray>, List<JDynArray>, RandomAccess
public class JSubroutineParameters
- extends 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.
- Author:
- aphethean
- See Also:
JConnection.call(java.lang.String, com.jbase.jremote.JSubroutineParameters)
,
Serialized Form
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 |
JSubroutineParameters
public JSubroutineParameters()
getType
public int getType()
- Specified by:
getType
in interface JBaseSerializable
- Returns:
- type id of the objects, used during the serialization
getVersion
public int getVersion()
- Specified by:
getVersion
in interface JBaseSerializable
writeObject
public void writeObject(JBaseObjectWriter writer,
int version)
throws IOException
- Specified by:
writeObject
in interface JBaseSerializable
- Throws:
IOException
readObject
public void readObject(JBaseObjectReader reader,
int version)
throws IOException,
ClassNotFoundException
- Specified by:
readObject
in interface JBaseSerializable
- Throws:
IOException
ClassNotFoundException
Copyright © 2016 TEMENOS. All Rights Reserved.