Package it.tidalwave.role
Interface SimpleComposite<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Author:
- Fabrizio Giudici
- Status: stable API
- Stereotype:
- Role
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.tidalwave.role.Composite
Composite.Visitor<T,
R> -
Field Summary
Fields inherited from interface it.tidalwave.role.Composite
_Composite_, DEFAULT
-
Method Summary
Modifier and TypeMethodDescriptionstatic <U> SimpleComposite
<U> Returns a wrappedSimpleComposite
on a givenFinder
static <U> SimpleComposite
<U> ofCloned
(Collection<? extends U> items) Returns a wrappedSimpleComposite
on a given collection of elements.Methods inherited from interface it.tidalwave.role.Composite
findChildren, forEach, stream
-
Field Details
-
_SimpleComposite_
-
-
Method Details
-
of
Returns a wrappedSimpleComposite
on a givenFinder
- Type Parameters:
U
- the type of theFinder
- Parameters:
finder
- theFinder
- Returns:
- the wrapped
SimpleComposite
- Since:
- 3.2-ALPHA-1
-
ofCloned
Returns a wrappedSimpleComposite
on a given collection of elements. The collection is cloned and will be immutable- Type Parameters:
U
- the type of theFinder
- Parameters:
items
- the objects to wrap- Returns:
- the wrapped
SimpleComposite
- Since:
- 3.2-ALPHA-1
-