Interface DataSelector<D>

  • Type Parameters:
    D - is the type of the data inside the tree
    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 DataSelector<D>
    This interface is used to select the data to reply 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 Detail

      • dataCouldBeRepliedByIterator

        @Pure
        boolean dataCouldBeRepliedByIterator​(D data)
        Replies if the specified data could be replied by the iterator.
        Parameters:
        data - is the data to test.
        Returns:
        true if the data could be replied by the iterator, otherwhise false