(Function<G, T> f, Class<G> guard, Function<Box, Collection<Box>> direction)
| 235 | public <T> Optional<Box> where(Dict.Prop<T> find) { |
| 236 | return whereHas(find, upwards()).findFirst(); |
| 237 | } |
| 238 | |
| 239 | @HiddenInAutocomplete |
| 240 | public <G, T> Stream<T> call(Function<G, T> f, Class<G> guard, Function<Box, Collection<Box>> direction) { |
| 241 | return breadthFirst(direction).filter(x -> guard.isInstance(x)) |
| 242 | .map(x -> f.apply((G) x)); |
| 243 | } |
| 244 |
no test coverage detected