Interface ScrollingInventoryContainer.IItemPredicate<E>

Type Parameters:
E - The type of item.
Enclosing class:
ScrollingInventoryContainer<E>

public static interface ScrollingInventoryContainer.IItemPredicate<E>
Predicate for matching items used to search.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(E item, Pattern pattern)
    Check if the given item matches a string pattern.
  • Method Details

    • apply

      boolean apply(E item, Pattern pattern)
      Check if the given item matches a string pattern.
      Parameters:
      item - The item to check.
      pattern - The pattern to check.
      Returns:
      If the item matches