/**<P> Refer to {@link #JIArray(Class, int[], int, boolean)} * * @param clazz class whose instances will be members of the deserialized array. * @param upperBounds highest index for each dimension. * @param dimension number of dimensions * @param isConformant declares whether the array is <i>conformant</i> or not. * @param isVarying declares whether the array is <i>varying</i> or not. * @throws IllegalArgumentException if <code>upperBounds</code> is supplied and its length * is not equal to the <code>dimension</code> parameter. * */ public JIArray(Class clazz, int[] upperBounds,int dimension, boolean isConformant,boolean isVarying) { this.clazz = clazz; init2(upperBounds,dimension,isConformant,isVarying); }
/**<P> Refer to {@link #JIArray(Class, int[], int, boolean)} * * @param clazz class whose instances will be members of the deserialized array. * @param upperBounds highest index for each dimension. * @param dimension number of dimensions * @param isConformant declares whether the array is <i>conformant</i> or not. * @param isVarying declares whether the array is <i>varying</i> or not. * @throws IllegalArgumentException if <code>upperBounds</code> is supplied and its length * is not equal to the <code>dimension</code> parameter. * */ public JIArray(Class clazz, int[] upperBounds,int dimension, boolean isConformant,boolean isVarying) { this.clazz = clazz; init2(upperBounds,dimension,isConformant,isVarying); }
/**<p>Creates an array object of the type specified by <code>clazz</code>. This is used * to prepare a template for decoding an array of that type. Used only for setting as an * <code>[out]</code> parameter in a JICallBuilder. * </p><p> * For example:- <br> * This call creates a template for a single dimension Integer array of size 10. * <code> * <br> * JIArray array = new JIArray(Integer.class,new int[]{10},1,false); * </code> *<br> * * </P> * @param clazz class whose instances will be members of the deserialized array. * @param upperBounds highest index for each dimension. * @param dimension number of dimensions * @param isConformant declares whether the array is <i>conformant</i> or not. * @throws IllegalArgumentException if <code>upperBounds</code> is supplied and its length * is not equal to the <code>dimension</code> parameter. */ public JIArray(Class clazz, int[] upperBounds,int dimension, boolean isConformant) { this.clazz = clazz; init2(upperBounds,dimension,isConformant,false); }
/** * <P> * Refer to {@link #JIArray(Class, int[], int, boolean)} * * @param clazz * class whose instances will be members of the deserialized * array. * @param upperBounds * highest index for each dimension. * @param dimension * number of dimensions * @param isConformant * declares whether the array is <i>conformant</i> or not. * @param isVarying * declares whether the array is <i>varying</i> or not. * @throws IllegalArgumentException * if <code>upperBounds</code> is supplied and its length * is not equal to the <code>dimension</code> parameter. */ public JIArray ( final Class clazz, final int[] upperBounds, final int dimension, final boolean isConformant, final boolean isVarying ) { this.clazz = clazz; init2 ( upperBounds, dimension, isConformant, isVarying ); }
/**<p>Creates an array object of the type specified by <code>clazz</code>. This is used * to prepare a template for decoding an array of that type. Used only for setting as an * <code>[out]</code> parameter in a JICallBuilder. * </p><p> * For example:- <br> * This call creates a template for a single dimension Integer array of size 10. * <code> * <br> * JIArray array = new JIArray(Integer.class,new int[]{10},1,false); * </code> *<br> * * </P> * @param clazz class whose instances will be members of the deserialized array. * @param upperBounds highest index for each dimension. * @param dimension number of dimensions * @param isConformant declares whether the array is <i>conformant</i> or not. * @throws IllegalArgumentException if <code>upperBounds</code> is supplied and its length * is not equal to the <code>dimension</code> parameter. */ public JIArray(Class clazz, int[] upperBounds,int dimension, boolean isConformant) { this.clazz = clazz; init2(upperBounds,dimension,isConformant,false); }
init2 ( upperBounds, dimension, isConformant, false );
this.clazz = template.getClass(); init2(upperBounds,dimension,isConformant,isVarying);
this.clazz = template.getClass(); init2(upperBounds,dimension,isConformant,isVarying);
this.clazz = template.getClass (); init2 ( upperBounds, dimension, isConformant, isVarying );
this.clazz = template.getClass(); init2(upperBounds,dimension,isConformant,false);
this.clazz = template.getClass(); init2(upperBounds,dimension,isConformant,false);
this.clazz = template.getClass (); init2 ( upperBounds, dimension, isConformant, false );