Class SlotNameInList

java.lang.Object
games.stendhal.server.entity.slot.SlotNameInList
All Implemented Interfaces:
com.google.common.base.Predicate<RPSlot>, Predicate<RPSlot>

public class SlotNameInList extends Object implements com.google.common.base.Predicate<RPSlot>
a predicate which tests that the name of a slot is in list
Author:
hendrik
  • Constructor Details

    • SlotNameInList

      public SlotNameInList(List<String> slotNames)
      a predicate which tests that the name of a slot is in list
      Parameters:
      slotNames -
  • Method Details

    • apply

      public boolean apply(RPSlot slot)
      Specified by:
      apply in interface com.google.common.base.Predicate<RPSlot>