org.maltparser.core.syntaxgraph.headrules
Class PrioSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<PrioSetMember>
org.maltparser.core.syntaxgraph.headrules.PrioSet
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<PrioSetMember>, Collection<PrioSetMember>, List<PrioSetMember>, RandomAccess
public class PrioSet
- extends ArrayList<PrioSetMember>
- 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
prioList
protected PrioList prioList
cache
protected PrioSetMember cache
PrioSet
public PrioSet(PrioList prioList)
PrioSet
public PrioSet(PrioList prioList,
String setSpec)
throws MaltChainedException
- Throws:
MaltChainedException
init
public void init(String setSpec)
throws MaltChainedException
- Throws:
MaltChainedException
addPrioSetMember
public PrioSetMember addPrioSetMember(SymbolTable table,
ColumnDescription column,
String symbolString,
PrioSetMember.RelationToPrevMember relationToPrevMember)
throws MaltChainedException
- Throws:
MaltChainedException
addPrioSetMember
public PrioSetMember addPrioSetMember(SymbolTable table,
ColumnDescription column,
int symbolCode,
PrioSetMember.RelationToPrevMember relationToPrevMember)
throws MaltChainedException
- Throws:
MaltChainedException
getHeadChild
public PhraseStructureNode getHeadChild(NonTerminalNode nt,
Direction direction)
throws MaltChainedException
- Throws:
MaltChainedException
getLogger
public org.apache.log4j.Logger getLogger()
getPrioList
public PrioList getPrioList()
setPrioList
protected void setPrioList(PrioList prioList)
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Collection<PrioSetMember>
- Specified by:
equals
in interface List<PrioSetMember>
- Overrides:
equals
in class AbstractList<PrioSetMember>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection<PrioSetMember>
- Specified by:
hashCode
in interface List<PrioSetMember>
- Overrides:
hashCode
in class AbstractList<PrioSetMember>
toString
public String toString()
- Overrides:
toString
in class AbstractCollection<PrioSetMember>
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.