Interface NodeSelector<N extends TreeNode<?,?>>
-
- Type Parameters:
N
- is the type of the tree nodes.
- All Known Implementing Classes:
FrustumSelector
- 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 NodeSelector<N extends TreeNode<?,?>>
This interface is used to select the nodes to treat by a Data*TreeIterator.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:41
- Author:
- Stéphane GALLAND
- See Also:
PostfixDataDepthFirstTreeIterator
,DataBroadFirstTreeIterator
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathtree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
nodeCouldBeTreatedByIterator(N node)
Replies if the specified node could be treated by the iterator.
-
-
-
Method Detail
-
nodeCouldBeTreatedByIterator
@Pure boolean nodeCouldBeTreatedByIterator(N node)
Replies if the specified node could be treated by the iterator.- Parameters:
node
- is the node to test.- Returns:
true
if the node could be treated by the iterator, otherwhisefalse
-
-