public interface FilterableResult<DRONE> extends Iterable<DronePoint<DRONE>>
| Modifier and Type | Method and Description |
|---|---|
FilterableResult<DRONE> |
filter(DronePointFilter<? super DRONE> filter)
Returns a new instance of
FilterableResult with contents of this instance filtered by given filter. |
DronePoint<DRONE> |
single()
Returns a single injection point that get matched by all of specified filters.
|
int |
size()
Returns number of drone points in this result.
|
forEach, iterator, spliteratorFilterableResult<DRONE> filter(DronePointFilter<? super DRONE> filter)
FilterableResult with contents of this instance filtered by given filter.DronePoint<DRONE> single()
IllegalStateException - if matched injection points count is not exactly oneint size()
Copyright © 2016 JBoss by Red Hat. All rights reserved.