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