Package cdc.issues
Interface Param
- All Superinterfaces:
Comparable<Param>,NameValue
- All Known Implementing Classes:
ParamImpl
Definition of an effective parameter.
It is a (name, value) pair, where name can not be null.
- Author:
- Damien Carbonne
-
Method Summary
Static MethodsMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
of
- Parameters:
name- The name.value- The value.- Returns:
- A new Param instance from
nameandvalue. - Throws:
IllegalArgumentException- Whennameis not valid.
-
isValidName
Returns true if a string is a valid name:- It cannot be null
- It cannot be empty
- It cannot contain any space or control character
- Parameters:
name- The name.- Returns:
trueiflabelis a valid label.
-