Package cdc.args
Class ArrayFormalArg<E>
java.lang.Object
cdc.args.FormalArg<C>
cdc.args.CompositeFormalArg<E[],E>
cdc.args.ArrayFormalArg<E>
- Type Parameters:
E- The element type.
Formal argument for arrays.
- Author:
- Damien Carbonne
-
Nested Class Summary
Nested classes/interfaces inherited from class cdc.args.FormalArg
FormalArg.Builder<T> -
Constructor Summary
ConstructorsConstructorDescriptionArrayFormalArg(String name, Class<E> elementType) Creates a MANDATORY array formal argument.ArrayFormalArg(String name, Class<E> elementType, Necessity necessity) Creates an array formal argument. -
Method Summary
Methods inherited from class cdc.args.CompositeFormalArg
equals, getElementType, hashCode, toStringMethods inherited from class cdc.args.FormalArg
builder, checkName, getDescription, getName, getNecessity, getType, getWrappedType, hasWeakerNecessity, hasWeakerType, isCompliantWith, isMandatory, isOptional, isValidName, isWeakerThan, matchesName, merge
-
Constructor Details
-
ArrayFormalArg
Creates an array formal argument.- Parameters:
name- The argument name.elementType- The array element type.necessity- The argument necessity.
-
ArrayFormalArg
Creates a MANDATORY array formal argument.- Parameters:
name- The argument name.elementType- The array element type.
-