Modifier and Type | Method and Description |
---|---|
<S extends T> |
withType(Class<S> type)
Returns a variant view containing the objects in this view of the given type.
|
configureEach, configureEach, configureEach, configureEach, configureEach, configureEach, filter, flatMap, get, getElements, map
<S extends T> VariantView<S> withType(Class<S> type)
withType
in interface View<T extends Variant>
S
- The base type of the new variant view.type
- The type of variant to find.VariantView
, never null.