Package cdc.args
Class ListFormalArg<E>
- Type Parameters:
E- The element type.
Formal argument for lists.
- Author:
- Damien Carbonne
-
Nested Class Summary
Nested classes/interfaces inherited from class cdc.args.FormalArg
FormalArg.Builder<T> -
Constructor Summary
ConstructorsConstructorDescriptionListFormalArg(String name, Class<E> elementType) Creates a MANDATORY list formal argument.ListFormalArg(String name, Class<E> elementType, Necessity necessity) Creates a list 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
-
ListFormalArg
Creates a list formal argument.- Parameters:
name- The argument name.elementType- The list element type.necessity- The argument necessity.
-
ListFormalArg
Creates a MANDATORY list formal argument.- Parameters:
name- The argument name.elementType- The list element type.
-