Interface Projection<T>

    • Method Detail

      • evaluate

        boolean evaluate​(ProjectionPredicate predicate)
        Evaluate this Projection against the specified Predicate. This typically involves a double dispatch where the Projection calls back to the predicate, passing itself.
        Parameters:
        predicate -
        Returns:
        true if the predicate evaluates to true, otherwise false. False can also mean that the predicate is not applicable to this Projection. For example, a linked type predicate evaluated against a grid projection.
      • addProjectionListener

        void addProjectionListener​(ProjectionListener listener)
        Adds listener for this projection.
        Parameters:
        listener - the listener to add.
      • removeProjectionListener

        boolean removeProjectionListener​(ProjectionListener listener)
        Removes a listener from the this projection.
        Parameters:
        listener - the listener to remove
        Returns:
        true if the listener was succesfully removed, otherwise false
      • getProjectionListeners

        Collection<ProjectionListener> getProjectionListeners()
        Gets all the listeners for this projection.
        Returns:
        an iterable over all the listeners for this projection.