Interface FeatureFilterCallback


  • public interface FeatureFilterCallback
    Callback to implement to have a new Feature list creation with all elements that pass the test implemented by this callback.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • filter

        boolean filter​(Feature feature,
                       int index)
        Return a value that coerces to true to keep the Feature, or to false otherwise.
        Parameters:
        feature - current element being processed in the list.
        index - the index of the current element being processed in the list
        Returns:
        a value that coerces to true to keep the Feature, or to false otherwise