Class TriggerList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Expression>, Collection<Expression>, Deque<Expression>, List<Expression>, Queue<Expression>

public class TriggerList extends LinkedList<Expression>
TriggerList can be used to create a list of Expressions from Strings and search for Expressions in this list.
See Also:
Serialized Form
  • Constructor Details

    • TriggerList

      public TriggerList(List<String> strings)
      Create a list of normalized trigger Words from a String list.
      Parameters:
      strings - String list
  • Method Details

    • find

      public final Expression find(Expression expr)
      Search for the given expression in the list.
      Parameters:
      expr -
      Returns:
      matching expression in the list