Package com.io7m.jspatial.api.quadtrees
Interface QuadTreeQuadrantIterationLType<A,C>
-
- Type Parameters:
A- The type of tree objectsC- The type of contextual values
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface QuadTreeQuadrantIterationLType<A,C>The type of functions used to iterate over the quadrants of quadtrees.- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TreeVisitResultapply(C context, QuadTreeQuadrantLType<A> quadrant, long depth)Apply the function.
-
-
-
Method Detail
-
apply
TreeVisitResult apply(C context, QuadTreeQuadrantLType<A> quadrant, long depth)
Apply the function.- Parameters:
context- A context valuequadrant- The current quadrantdepth- The current quadrant depth- Returns:
- A value indicating how or if the traversal should continue
-
-