org.maltparser.core.syntaxgraph.headrules
Class PrioList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<PrioSet>
org.maltparser.core.syntaxgraph.headrules.PrioList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<PrioSet>, Collection<PrioSet>, List<PrioSet>, RandomAccess
public class PrioList
- extends ArrayList<PrioSet>
- Author:
- Johan Hall
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
headRule
protected HeadRule headRule
direction
protected Direction direction
PrioList
public PrioList(HeadRule headRule,
String listSpec)
throws MaltChainedException
- Throws:
MaltChainedException
init
public void init(String listSpec)
throws MaltChainedException
- Throws:
MaltChainedException
getHeadChild
public PhraseStructureNode getHeadChild(NonTerminalNode nt)
throws MaltChainedException
- Throws:
MaltChainedException
getLogger
public org.apache.log4j.Logger getLogger()
getDataFormatInstance
public DataFormatInstance getDataFormatInstance()
getHeadRule
public HeadRule getHeadRule()
setHeadRule
public void setHeadRule(HeadRule headRule)
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Collection<PrioSet>
- Specified by:
equals
in interface List<PrioSet>
- Overrides:
equals
in class AbstractList<PrioSet>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection<PrioSet>
- Specified by:
hashCode
in interface List<PrioSet>
- Overrides:
hashCode
in class AbstractList<PrioSet>
toString
public String toString()
- Overrides:
toString
in class AbstractCollection<PrioSet>
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.