Interface PieceFilter

All Known Implementing Classes:
BooleanAndPieceFilter, BooleanOrPieceFilter, CounterDetailViewer.Filter, Inventory.Selector, PropertyExpression, RangeFilter
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 PieceFilter
A filter for GamePieces Sample implementations include: PropertyExpression - used for "matching expressions" in Global Key Commands and the like RangeFilter - filters for pieces within range of a point BooleanOrPieceFilter - "OR"s two Filters together to make one Amazing Disjunctive Filter BooleanAndPieceFilter - "AND"s two Filters together and you'd better satisfy both CounterDetailViewer.Filter - Filter created from Mouseover Stack Viewer settings Inventory.Selector - Layered filter for Piece Inventory window
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept​(GamePiece piece)
     
  • Method Details

    • accept

      boolean accept(GamePiece piece)