Package org.openjdk.jmc.common.item
Class ItemFilters.BooleanFilter
- java.lang.Object
-
- org.openjdk.jmc.common.item.ItemFilters.BooleanFilter
-
- All Implemented Interfaces:
IItemFilter
- Enclosing class:
- ItemFilters
public static class ItemFilters.BooleanFilter extends Object implements IItemFilter
-
-
Field Summary
Fields Modifier and Type Field Description boolean
value
-
Constructor Summary
Constructors Modifier Constructor Description protected
BooleanFilter(boolean value)
-
-
-
Method Detail
-
getPredicate
public Predicate<IItem> getPredicate(IType<IItem> type)
- Specified by:
getPredicate
in interfaceIItemFilter
- Parameters:
type
- the item type to get a predicate for- Returns:
- a predicate to use for items of the supplied type
-
-