Interface StringFilter

All Superinterfaces:
Predicate<String>, Serializable
All Known Implementing Classes:
FileOfClasses, PatternsFilter, SetOfClasses

public interface StringFilter extends Predicate<String>, Serializable
A serializable filter that accepts or rejects Strings.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides a JSON-compatible representation of this filter for use in serialization.

    Methods inherited from interface Predicate

    and, negate, or, test
  • Method Details

    • toJson

      Object toJson()
      Provides a JSON-compatible representation of this filter for use in serialization.

      JSON-compatible types include String, List of a JSON-compatible type, Map from String to a JSON-compatible type, etc..

      Returns:
      a JSON-compatible representation of this filter