Skip navigation links
oracle.security.jps.service.policystore.info
Class VarArgsInfo
java.lang.Object
oracle.security.jps.service.policystore.info.VarArgsInfo
-
public class VarArgsInfo
- extends java.lang.Object
This class represents details of variable arguments to a function.
Constructor Summary |
VarArgsInfo(int minParams, int maxParams, java.lang.Class<? extends DataType> argType)
This constructor supports the case where a function can have a variable number of input parameters, all of which are of the same data type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_INPUT_PARAMETERS
public static final int MAX_INPUT_PARAMETERS
-
- See Also:
- Constant Field Values
VarArgsInfo
public VarArgsInfo(int minParams,
int maxParams,
java.lang.Class<? extends DataType> argType)
throws InvalidArgumentException
- This constructor supports the case where a function can have a variable number of input parameters, all of which are of the same data type.
- Parameters:
minParams
- Minimum number of parameters for the function
maxParams
- Maximum number of parameters for the function
argType
- Type of every single argument to this function.
- Throws:
InvalidArgumentException
- if minParams <= 0 or minParams >= maxParams. Note that varArgs is not needed when minParams = maxParams.
getMinInputParams
public int getMinInputParams()
getMaxInputParams
public int getMaxInputParams()
getTypeOfParams
public java.lang.Class<? extends DataType> getTypeOfParams()
Skip navigation links
Copyright © 2011, Oracle. All rights reserved.