Package net.time4j.range
Interface IntervalTree.Visitor<I>
- Type Parameters:
I
- the type of visited intervals
- Enclosing class:
- IntervalTree<T,I extends ChronoInterval<T>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface for tree traversal according to the visitor pattern design.
-
Method Summary
-
Method Details
-
visited
Called recursively during traversal of tree for every interval node.
- Parameters:
interval
- visited interval- Returns:
true
if further traversal shall be cancelled elsefalse
-