Class CompoundName

All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, List<String>, RandomAccess

public class CompoundName extends ArrayList<String>
CompoundName is used to store compound names.
Author:
Martin Fuchs
See Also:
Serialized Form
  • Constructor Details

    • CompoundName

      public CompoundName(Sentence parsed, String typeString)
  • Method Details

    • matches

      public boolean matches(AbstractList<Expression> expressions, int idx)
      Compare this compound name with the words in the expressions list starting at index idx.
      Parameters:
      expressions -
      idx -
      Returns:
      true for matching between expressions and the compound name
    • getType

      public ExpressionType getType()