A B C D E F G H I L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractFactory<T> - Class in cdc.args
-
Base class for factory implementation.
- AbstractFactory(Class<T>) - Constructor for class cdc.args.AbstractFactory
-
Creates a factory that does not accept any argument for creation.
- AbstractFactory(Class<T>, Args) - Constructor for class cdc.args.AbstractFactory
-
Creates a factory that does not accept any argument for creation.
- AbstractFactory(Class<T>, Args, FormalArgs...) - Constructor for class cdc.args.AbstractFactory
-
Creates a factory with an array of possible tuples for creation.
- AbstractFactory(Class<T>, Args, List<FormalArgs>) - Constructor for class cdc.args.AbstractFactory
-
Creates a factory with a list of possible tuples for creation.
- AbstractFactory(Class<T>, FormalArgs...) - Constructor for class cdc.args.AbstractFactory
- AbstractFactory(Class<T>, List<FormalArgs>) - Constructor for class cdc.args.AbstractFactory
- accepts(FormalArgs) - Method in class cdc.args.FormalArgs
-
Returns
truewhen this formal tuple can accept another formal tuple. - add(FormalArg<?>) - Method in class cdc.args.FormalArgs.Builder
- add(String, Class<?>, Necessity) - Method in class cdc.args.FormalArgs.Builder
- apply(Args, List<FormalArgs>) - Method in interface cdc.args.Factories.ArgsConverter
-
Converts arguments.
- areCompliant(Args, FormalArgs, Strictness) - Static method in class cdc.args.Args
-
Returns
truewhen an arguments is compliant with a formal arguments. - areCompliant(Args, Strictness, FormalArgs...) - Static method in class cdc.args.Args
- areCompliant(Args, Strictness, Collection<FormalArgs>) - Static method in class cdc.args.Args
- areLooselyCompliant(Args, FormalArgs) - Static method in class cdc.args.Args
-
Returns
truewhen an arguments is loosely compliant with a formal arguments. - areLooselyCompliant(Args, FormalArgs...) - Static method in class cdc.args.Args
- areLooselyCompliant(Args, Collection<FormalArgs>) - Static method in class cdc.args.Args
- areStrictlyCompliant(Args, FormalArgs) - Static method in class cdc.args.Args
-
Returns
truewhen an arguments is strictly compliant with a formal arguments. - areStrictlyCompliant(Args, FormalArgs...) - Static method in class cdc.args.Args
- areStrictlyCompliant(Args, Collection<FormalArgs>) - Static method in class cdc.args.Args
- arg(Arg) - Method in class cdc.args.Args.Builder
- arg(FormalArg<T>, T) - Method in class cdc.args.Args.Builder
- arg(String, Object) - Method in class cdc.args.Args.Builder
- Arg - Class in cdc.args
-
Effective argument.
- Arg(FormalArg<T>, T) - Constructor for class cdc.args.Arg
-
Creates an effective argument that is compliant with a formal argument.
- Arg(String, Object) - Constructor for class cdc.args.Arg
-
Creates an effective argument.
- argRaw(FormalArg<?>, Object) - Method in class cdc.args.Args.Builder
- args(Args) - Method in class cdc.args.Args.Builder
- Args - Class in cdc.args
-
'Set' of effective arguments.
- Args() - Constructor for class cdc.args.Args
-
Creates an empty set.
- Args(Arg...) - Constructor for class cdc.args.Args
-
Creates a set.
- Args(List<Arg>) - Constructor for class cdc.args.Args
-
Creates a set.
- Args.Builder - Class in cdc.args
-
Helper class used to create Args.
- ArrayFormalArg<E> - Class in cdc.args
-
Formal argument for arrays.
- ArrayFormalArg(String, Class<E>) - Constructor for class cdc.args.ArrayFormalArg
-
Creates a MANDATORY array formal argument.
- ArrayFormalArg(String, Class<E>, Necessity) - Constructor for class cdc.args.ArrayFormalArg
-
Creates an array formal argument.
- AutoFactory<T> - Class in cdc.args
- AutoFactory(Class<T>) - Constructor for class cdc.args.AutoFactory
B
- build() - Method in class cdc.args.Args.Builder
- build() - Method in class cdc.args.FormalArg.Builder
- build() - Method in class cdc.args.FormalArgs.Builder
- builder() - Static method in class cdc.args.Args
- builder() - Static method in class cdc.args.FormalArgs
- builder(FormalArgs) - Static method in class cdc.args.Args
- builder(Class<T>) - Static method in class cdc.args.FormalArg
- Builder() - Constructor for class cdc.args.FormalArgs.Builder
- Builder(FormalArgs) - Constructor for class cdc.args.Args.Builder
- Builder(Class<T>) - Constructor for class cdc.args.FormalArg.Builder
C
- cdc.args - package cdc.args
- checkCompliance(Args, Strictness, FormalArgs...) - Static method in class cdc.args.Args
- checkCompliance(Args, Strictness, Collection<FormalArgs>) - Static method in class cdc.args.Args
- checkComplianceWithOneOf(Strictness, FormalArgs...) - Method in class cdc.args.Args
-
Checks compliance of the arguments with formal arguments tuples.
- checkComplianceWithOneOf(Strictness, Collection<FormalArgs>) - Method in class cdc.args.Args
-
Checks compliance of this arguments with one of a collection of formal arguments.
- checkLooseCompliance(Args, FormalArgs...) - Static method in class cdc.args.Args
- checkLooseCompliance(Args, Collection<FormalArgs>) - Static method in class cdc.args.Args
- checkLooseComplianceWithOneOf(FormalArgs...) - Method in class cdc.args.Args
-
Checks loose compliance of the arguments with formal arguments tuples.
- checkLooseComplianceWithOneOf(Collection<FormalArgs>) - Method in class cdc.args.Args
-
Checks loose compliance of this arguments with one of a collection of formal arguments.
- checkName(String) - Static method in class cdc.args.FormalArg
-
Checks a name.
- checkStrictCompliance(Args, FormalArgs...) - Static method in class cdc.args.Args
- checkStrictCompliance(Args, Collection<FormalArgs>) - Static method in class cdc.args.Args
- checkStrictComplianceWithOneOf(FormalArgs...) - Method in class cdc.args.Args
-
Checks strict compliance of the arguments with formal arguments tuples.
- checkStrictComplianceWithOneOf(Collection<FormalArgs>) - Method in class cdc.args.Args
-
Checks strict compliance of this arguments with one of a collection of formal arguments.
- clear() - Method in class cdc.args.Args.Builder
- clear() - Method in class cdc.args.FormalArgs.Builder
- CompositeFormalArg<C,E> - Class in cdc.args
-
Base class of formal arguments whose type is composite.
- CompositeFormalArg(String, Class<C>, Class<E>) - Constructor for class cdc.args.CompositeFormalArg
- CompositeFormalArg(String, Class<C>, Class<E>, Necessity) - Constructor for class cdc.args.CompositeFormalArg
- convertToStringValues(Arg) - Static method in class cdc.args.Factories
- convertToStringValues(Args) - Static method in class cdc.args.Factories
-
Converts arguments to strings.
- create() - Method in interface cdc.args.Factory
-
Creates a
Tinstance. - create(Args) - Method in class cdc.args.AbstractFactory
- create(Args) - Method in interface cdc.args.Factory
-
Creates a
Tinstance. - create(Args) - Method in class cdc.args.Singleton
- create(Args, FormalArgs) - Method in class cdc.args.AbstractFactory
-
Creates an object.
- create(Args, FormalArgs) - Method in class cdc.args.AutoFactory
- create(Class<?>) - Static method in class cdc.args.Factories
-
Creates an object.
- create(Class<?>, Args) - Static method in class cdc.args.Factories
-
Creates an object.
- create(String) - Static method in class cdc.args.Factories
-
Creates an object.
- create(String, Args) - Static method in class cdc.args.Factories
-
Creates an object.
D
- DEFAULT_FARGS_LIST - Static variable in class cdc.args.FormalArgs
- description(String) - Method in class cdc.args.FormalArg.Builder
E
- equals(Object) - Method in class cdc.args.Arg
- equals(Object) - Method in class cdc.args.Args
- equals(Object) - Method in class cdc.args.CompositeFormalArg
- equals(Object) - Method in class cdc.args.FormalArg
- equals(Object) - Method in class cdc.args.FormalArgs
- equals(Object) - Method in class cdc.args.MapFormalArg
F
- Factories - Class in cdc.args
-
Registry of factories.
- Factories.ArgsConverter - Interface in cdc.args
-
Interface used to convert arguments.
- Factories.Printer - Class in cdc.args
- Factory<T> - Interface in cdc.args
-
Interface dedicated to objects creation.
- FormalArg<T> - Class in cdc.args
-
Class used to describe a formal argument.
- FormalArg(String, Class<T>) - Constructor for class cdc.args.FormalArg
-
Creates a MANDATORY formal argument.
- FormalArg(String, Class<T>, Necessity) - Constructor for class cdc.args.FormalArg
-
Creates a formal argument.
- FormalArg.Builder<T> - Class in cdc.args
- FormalArgs - Class in cdc.args
-
Tuple of formal arguments.
- FormalArgs() - Constructor for class cdc.args.FormalArgs
-
Creates an empty formal argument tuple.
- FormalArgs(FormalArg<?>...) - Constructor for class cdc.args.FormalArgs
-
Creates a tuple of formal arguments from an array.
- FormalArgs(FormalArgs, FormalArgs) - Constructor for class cdc.args.FormalArgs
-
Creates a tuple of formal arguments by merging two tuples.
- FormalArgs(List<FormalArg<?>>) - Constructor for class cdc.args.FormalArgs
-
Creates a tuple of formal arguments from a list.
- FormalArgs.Builder - Class in cdc.args
-
Builder of formal arguments.
G
- getArg(int) - Method in class cdc.args.FormalArgs
-
Returns the argument that has a position.
- getArg(String) - Method in class cdc.args.Args.Builder
- getArg(String) - Method in class cdc.args.Args
-
Returns the argument that has a given name or
null. - getArg(String) - Method in class cdc.args.FormalArgs
-
Returns the argument that has a name.
- getArgIndex(String) - Method in class cdc.args.FormalArgs
-
Returns the index of an argument.
- getArgs() - Method in class cdc.args.Args
- getArgs() - Method in class cdc.args.FormalArgs
- getArgs(Necessity) - Method in class cdc.args.FormalArgs
-
Returns the arguments that match a necessity.
- getClasses() - Static method in class cdc.args.Factories
- getCreationFormalArgsList() - Method in class cdc.args.AbstractFactory
- getCreationFormalArgsList() - Method in interface cdc.args.Factory
-
Returns a list of supported creation arguments.
- getCreationFormalArgsList() - Method in class cdc.args.Singleton
- getDescription() - Method in class cdc.args.FormalArg
- getElementType() - Method in class cdc.args.CompositeFormalArg
- getFactory(Class<T>) - Static method in class cdc.args.Factories
- getFactory(Class<T>, FailureReaction) - Static method in class cdc.args.Factories
-
Returns the factory associated to a class.
- getFormalArgs() - Method in class cdc.args.Args.Builder
- getKeyType() - Method in class cdc.args.MapFormalArg
- getMeta() - Method in class cdc.args.AbstractFactory
- getMeta() - Method in interface cdc.args.Factory
- getMeta() - Method in class cdc.args.Singleton
- getName() - Method in class cdc.args.Arg
- getName() - Method in class cdc.args.FormalArg
- getNames() - Method in class cdc.args.Args
- getNecessity() - Method in class cdc.args.FormalArg
- getObjectClass() - Method in class cdc.args.AbstractFactory
- getObjectClass() - Method in interface cdc.args.Factory
- getObjectClass() - Method in class cdc.args.Singleton
- getSortedNames() - Method in class cdc.args.Args
- getType() - Method in class cdc.args.FormalArg
- getValue() - Method in class cdc.args.Arg
- getValue(FormalArg<T>) - Method in class cdc.args.Args
-
Returns the value associated to a formal argument or
null. - getValue(FormalArg<T>, T) - Method in class cdc.args.Args
-
Returns the value associated to a formal argument or a default value.
- getValue(Class<T>) - Method in class cdc.args.Arg
-
Returns the value cast to a target class.
- getValue(Class<T>, T) - Method in class cdc.args.Arg
-
Returns the value cast to a target class or a default value.
- getValue(Object) - Method in class cdc.args.Arg
-
Returns the value or a default value.
- getValue(String) - Method in class cdc.args.Args
-
Returns the value (as Object) associated to a name or null.
- getValue(String, Class<T>) - Method in class cdc.args.Args
-
Returns the value associated to a name, as a type, or
null. - getValue(String, Class<T>, T) - Method in class cdc.args.Args
-
Returns the value associated to a name, as a type, or a default value.
- getValue(String, Object) - Method in class cdc.args.Args
-
Returns the value (as Object) associated to a name or a default value.
- getValueType() - Method in class cdc.args.MapFormalArg
- getWrappedType() - Method in class cdc.args.FormalArg
H
- hasArg(String) - Method in class cdc.args.Args.Builder
- hasArg(String) - Method in class cdc.args.Args
-
Returns
trueif this Args contains an argument with a particular name. - hasArg(String) - Method in class cdc.args.FormalArgs
-
Returns
truewhen this tuple contains an argument that has a given name. - hasArgMatchingName(FormalArg<?>) - Method in class cdc.args.Args.Builder
- hasArgMatchingName(FormalArg<?>) - Method in class cdc.args.FormalArgs
- hasArgs(Necessity) - Method in class cdc.args.FormalArgs
-
Returns
trueif this tuple of formal arguments contains at least one argument whose necessity matches a necessity. - hasArgWithMatchingName(FormalArg<?>) - Method in class cdc.args.Args
-
Returns
trueif this tuple contains an argument whose name matches the name of a formal argument. - hashCode() - Method in class cdc.args.Arg
- hashCode() - Method in class cdc.args.Args
- hashCode() - Method in class cdc.args.CompositeFormalArg
- hashCode() - Method in class cdc.args.FormalArg
- hashCode() - Method in class cdc.args.FormalArgs
- hashCode() - Method in class cdc.args.MapFormalArg
- hasWeakerNecessity(Necessity) - Method in class cdc.args.FormalArg
-
Returns
trueif the necessity of this formal argument is weaker than (or equal to) another necessity. - hasWeakerType(Class<?>) - Method in class cdc.args.FormalArg
-
Returns
trueif the (wrapped) type of this formal argument can be assigned by another type.
I
- IllegalValueException - Exception in cdc.args
- IllegalValueException() - Constructor for exception cdc.args.IllegalValueException
- IllegalValueException(String) - Constructor for exception cdc.args.IllegalValueException
- InvalidArgsException - Exception in cdc.args
- InvalidArgsException() - Constructor for exception cdc.args.InvalidArgsException
- InvalidArgsException(String) - Constructor for exception cdc.args.InvalidArgsException
- isCompliantWith(FormalArg<?>) - Method in class cdc.args.Arg
- isCompliantWith(FormalArgs) - Method in class cdc.args.Arg
- isCompliantWith(FormalArgs, Strictness) - Method in class cdc.args.Args
-
Returns true when this Args is compliant with formal arguments and strictness.
- isCompliantWith(Class<?>) - Method in class cdc.args.Arg
- isCompliantWith(Object) - Method in class cdc.args.FormalArg
-
Returns whether a value is compliant with this formal argument.
- isCompliantWithOneOf(Strictness, FormalArgs...) - Method in class cdc.args.Args
-
Returns
trueif this arguments is compliant with at least one formal argument tuple. - isCompliantWithOneOf(Strictness, Collection<FormalArgs>) - Method in class cdc.args.Args
-
Returns
trueif this arguments is compliant with at least one formal argument tuple. - isConflictingWith(FormalArgs) - Method in class cdc.args.Args
- isEmpty() - Method in class cdc.args.Args
- isEmpty() - Method in class cdc.args.FormalArgs
- isEmptyOrAllValuesAreNull() - Method in class cdc.args.Args
- isLooselyCompliantWith(FormalArgs) - Method in class cdc.args.Args
-
Returns true when this Args is loosely compliant with formal arguments.
- isLooselyCompliantWithOneOf(FormalArgs...) - Method in class cdc.args.Args
-
Returns
trueif this arguments is loosely compliant with at least one formal argument tuple. - isLooselyCompliantWithOneOf(Collection<FormalArgs>) - Method in class cdc.args.Args
-
Returns
trueif this arguments is loosely compliant with at least one formal argument tuple. - isMandatory() - Method in class cdc.args.FormalArg
- isOptional() - Method in class cdc.args.FormalArg
- isStrictlyCompliantWith(FormalArgs) - Method in class cdc.args.Args
-
Returns true when this Args is strictly compliant with formal arguments.
- isStrictlyCompliantWithOneOf(FormalArgs...) - Method in class cdc.args.Args
-
Returns
trueif this arguments is strictly compliant with at least one formal argument tuple. - isStrictlyCompliantWithOneOf(Collection<FormalArgs>) - Method in class cdc.args.Args
-
Returns
trueif this arguments is strictly compliant with at least one formal argument tuple. - isValidName(String) - Static method in class cdc.args.FormalArg
-
Returns true when a string can be used as a valid name.
- isWeakerThan(FormalArg<?>) - Method in class cdc.args.FormalArg
-
Returns
trueif this formal argument is weaker than another one. - isWeakerThan(Necessity) - Method in enum cdc.args.Necessity
-
Returns
trueif this necessity is weaker than (or equal to) another one.
L
- ListFormalArg<E> - Class in cdc.args
-
Formal argument for lists.
- ListFormalArg(String, Class<E>) - Constructor for class cdc.args.ListFormalArg
-
Creates a MANDATORY list formal argument.
- ListFormalArg(String, Class<E>, Necessity) - Constructor for class cdc.args.ListFormalArg
-
Creates a list formal argument.
- LOOSE - cdc.args.Strictness
M
- MANDATORY - cdc.args.Necessity
-
The argument is mandatory.
- MapFormalArg<K,V> - Class in cdc.args
-
Formal argument for maps.
- MapFormalArg(String, Class<K>, Class<V>) - Constructor for class cdc.args.MapFormalArg
-
Creates a MANDATORY map formal argument.
- MapFormalArg(String, Class<K>, Class<V>, Necessity) - Constructor for class cdc.args.MapFormalArg
-
Creates a map formal argument.
- matchesName(String) - Method in class cdc.args.FormalArg
-
Returns
trueif the name of this formal argument equals another name. - merge(FormalArg<?>, FormalArg<?>, Necessity) - Static method in class cdc.args.FormalArg
-
Merges 2 formal arguments.
- merge(FormalArgs...) - Static method in class cdc.args.FormalArgs
- merge(FormalArgs, FormalArgs) - Static method in class cdc.args.FormalArgs
-
Merges 2 tuples of formal arguments.
N
- name(String) - Method in class cdc.args.FormalArg.Builder
- necessity(Necessity) - Method in class cdc.args.FormalArg.Builder
- Necessity - Enum in cdc.args
-
Necessity of an argument.
- NO_ARGS - Static variable in class cdc.args.Args
-
Empty arguments.
- NO_FARGS - Static variable in class cdc.args.FormalArgs
-
Empty tuple of formal arguments.
O
P
- print(PrintStream, int) - Method in class cdc.args.Factories.Printer
- Printer() - Constructor for class cdc.args.Factories.Printer
- PRINTER - Static variable in class cdc.args.Factories
R
- reduceNecessity(FormalArgs, Args) - Static method in class cdc.args.Args
- register(Factory<?>) - Static method in class cdc.args.Factories
-
Registers a factory.
S
- set(Args) - Method in class cdc.args.Args
-
Creates a new set from this one and another one.
- setArg(Arg) - Method in class cdc.args.Args.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setArg(FormalArg<T>, T) - Method in class cdc.args.Args.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setArg(String, Object) - Method in class cdc.args.Args.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setArgRaw(FormalArg<?>, Object) - Method in class cdc.args.Args.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setArgs(Args) - Method in class cdc.args.Args.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setConverter(Factories.ArgsConverter) - Static method in class cdc.args.Factories
-
Sets the arguments converter.
- SetFormalArg<E> - Class in cdc.args
-
Formal argument for sets.
- SetFormalArg(String, Class<E>) - Constructor for class cdc.args.SetFormalArg
-
Creates a MANDATORY set formal argument.
- SetFormalArg(String, Class<E>, Necessity) - Constructor for class cdc.args.SetFormalArg
-
Creates a set formal argument.
- singleton(E) - Static method in interface cdc.args.Factory
-
Creates a Singleton factory with no (empty) meta data.
- singleton(E, Args) - Static method in interface cdc.args.Factory
-
Creates a Singleton factory.
- singleton(Class<E>, E) - Static method in interface cdc.args.Factory
-
Creates a Singleton factory with no (empty) meta data.
- singleton(Class<E>, E, Args) - Static method in interface cdc.args.Factory
-
Creates a Singleton factory.
- Singleton<T> - Class in cdc.args
-
Implementation of Factory dedicated to singletons.
- Singleton(Class<T>, T, Args) - Constructor for class cdc.args.Singleton
-
Creates a Singleton factory.
- Singleton(T, Args) - Constructor for class cdc.args.Singleton
-
Creates a Singleton factory.
- size() - Method in class cdc.args.Args
- size() - Method in class cdc.args.FormalArgs
- STRICT - cdc.args.Strictness
- Strictness - Enum in cdc.args
-
Strictness of a match.
T
- toString() - Method in class cdc.args.AbstractFactory
- toString() - Method in class cdc.args.Arg
- toString() - Method in class cdc.args.Args
- toString() - Method in class cdc.args.CompositeFormalArg
- toString() - Method in class cdc.args.FormalArg
- toString() - Method in class cdc.args.FormalArgs
- toString() - Method in class cdc.args.MapFormalArg
V
- valueOf(String) - Static method in enum cdc.args.Necessity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cdc.args.Strictness
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum cdc.args.Necessity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum cdc.args.Strictness
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages