(Dict.Prop<T> find, Function<Box, Collection<Box>> direction)
| 197 | public <T> Stream<Box> whereHas(Dict.Prop<T> find, Function<Box, Collection<Box>> direction) { |
| 198 | return breadthFirst(direction).filter(x -> x.properties.has(find)); |
| 199 | } |
| 200 | |
| 201 | @HiddenInAutocomplete |
| 202 | public <T> Stream<T> find(Dict.Prop<T> find, Function<Box, Collection<Box>> direction) { |
| 203 | return breadthFirst(direction).map(x -> x.properties.get(find)) |
| 204 | .filter(x -> x != null); |
| 205 | } |
| 206 |
no test coverage detected