Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8057543

Replace javac's Filter with Predicate (and lambdas)

    XMLWordPrintable

Details

    • b20

    Description

      Javac defines this functional interface:

      public interface Filter<T> {
          boolean accepts(T t);
      }

      This has now become a duplicate of java.util.function.Predicate; javac should be refactored to use the JDK functional interface instead, and to use lambdas instead of anonymous inner classes.

      Attachments

        Issue Links

          Activity

            People

              gli Guoxiong Li
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: