- All primitive types except char.
- All wrapper classes of primitive types except Character.
- Any class with the static method named valueOf(String) that accepts a single String argument.
- Any class with constructorthat takes a single String as a parameter
- List<T>, Set<T>, SortedSet<T>, where T matches the already listed criteria. Sometimes parameters many contain more than one value for the same name. If this is the case, this types may be used to obtain all values.
DefaultValue annotation may be used to supply a default value for parameters
No comments:
Post a Comment