Interface Filter<T extends @Nullable Object>

Type Parameters:
T - the type of arguments to accept(T)

@Deprecated public interface Filter<T extends @Nullable Object>
Deprecated.
use java.util.function.Predicate
Interface for things that make boolean decisions. This is inspired by java.io.FilenameFilter.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T o)
    Deprecated.
    Tests whether a specified Object satisfies the filter.
  • Method Details

    • accept

      boolean accept(T o)
      Deprecated.
      Tests whether a specified Object satisfies the filter.
      Parameters:
      o - the object to test
      Returns:
      whether the object satisfies the filter