public final class InventoryPrefixPredicate extends InventoryFilterPredicate
InventoryFilterPredicate
class to represent the
prefix to use when evaluating an inventory filter.Constructor and Description |
---|
InventoryPrefixPredicate(String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
accept(InventoryPredicateVisitor inventoryPredicateVisitor)
Helper method that accepts an implemenation of
InventoryPredicateVisitor
and invokes the most applicable visit method in the visitor. |
String |
getPrefix()
Returns the prefix to use when evaluating an inventory filter.
|
public InventoryPrefixPredicate(String prefix)
public String getPrefix()
public void accept(InventoryPredicateVisitor inventoryPredicateVisitor)
InventoryFilterPredicate
InventoryPredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class InventoryFilterPredicate
Copyright © 2021. All rights reserved.