- Type Parameters:
T-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ComponentList,ParameterList,PropertyList
Implementors of this interface support the immutable collection contract specified by this interface.
The contract states that any mutation function will not modify the underlying collection, but rather
will return a copy of the collection with the applied mutation.
-
Method Summary
Modifier and TypeMethodDescriptionaddAll(Collection<T> content) Return a list of elements filtered by name.getAll()default <R extends T>
RgetRequired(String name)
-
Method Details
-
add
-
addAll
-
remove
-
removeAll
-
removeIf
-
replace
-
getAll
-
get
Return a list of elements filtered by name. If no names are specified return all elements.- Type Parameters:
R- content type- Parameters:
names- a list of zero or more names to match- Returns:
- a list of elements less than or equal to the elements in this collection
-
getFirst
-
getRequired
- Throws:
ConstraintViolationException
-