Interface ContentFilter<T>

Type Parameters:
T - the content type
All Known Implementing Classes:
ApplicationContentFilter, LibraryContentFilter
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 ContentFilter<T>
Callback interface that can be used to filter layer contents.
Since:
2.3.0
Author:
Madhura Bhave, Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(T item)
    Return if the filter matches the specified item.
  • Method Details

    • matches

      boolean matches(T item)
      Return if the filter matches the specified item.
      Parameters:
      item - the item to test
      Returns:
      if the filter matches