| Modifier and Type | Field and Description |
|---|---|
| private final ObjectWalk |
| Access | Constructor and Description |
|---|---|
| public | BitmappedObjectReachabilityChecker(ObjectWalk
ObjectWalk instance to reuse. Caller retains ownership. walk)New instance of the reachability checker using a existing walk. |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | areAllReachable(Collection<RevObject>
objects to check for reachability from the starters targets, Stream<RevObject> objects known to be reachable to the caller starters)Implements org. Checks that all targets are reachable from the starters. |
| walk | back to summary |
|---|---|
| private final ObjectWalk walk | |
| BitmappedObjectReachabilityChecker | back to summary |
|---|---|
| public BitmappedObjectReachabilityChecker(ObjectWalk walk) New instance of the reachability checker using a existing walk.
| |
| areAllReachable | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Checks that all targets are reachable from the starters. This implementation tries to shortcut the check adding starters incrementally. Ordering the starters by relevance can improve performance in the average case.
| |