Interface GroundItemFilter
- All Superinterfaces:
Predicate<GroundItem>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Predicate for filtering
GroundItem entries in a GameSnapshot.
Compose with Predicate.and(Predicate) / Predicate.or(Predicate).-
Method Summary
Modifier and TypeMethodDescriptiondefault GroundItemFilterand(Predicate<? super GroundItem> other) static GroundItemFilteratTile(int tileX, int tileY) static GroundItemFilteratTile(int tileX, int tileY, int plane) static GroundItemFilteritemId(int itemId) static GroundItemFilterminQuantity(int minQty) default GroundItemFilternegate()static GroundItemFilteronPlane(int plane) default GroundItemFilteror(Predicate<? super GroundItem> other)
-
Method Details
-
and
- Specified by:
andin interfacePredicate<GroundItem>
-
or
- Specified by:
orin interfacePredicate<GroundItem>
-
negate
- Specified by:
negatein interfacePredicate<GroundItem>
-
itemId
-
onPlane
-
atTile
-
atTile
-
minQuantity
-