public static class ItemFilters.Types extends ItemFilters.Composite
PersistableItemFilter.Kind| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.String> |
types |
KEY_END, KEY_FIELD, KEY_FILTER, KEY_START, KEY_TYPE, KEY_TYPE_MATCHES, KEY_VALUE, kind| Constructor and Description |
|---|
Types(IItemFilter[] filters,
java.util.Set<java.lang.String> types) |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Predicate<IItem> |
getPredicate(IType<IItem> type) |
java.util.Set<java.lang.String> |
getTypes() |
getFilters, isUnion, saveArgsputValueType, readFrom, readValue, readValue, saveTo, toString, toString, writeValue, writeValueTypes(IItemFilter[] filters, java.util.Set<java.lang.String> types)
public java.util.function.Predicate<IItem> getPredicate(IType<IItem> type)
getPredicate in interface IItemFiltergetPredicate in class ItemFilters.Compositetype - the item type to get a predicate forpublic java.util.Set<java.lang.String> getTypes()