org.maltparser.parser.history
Class HistoryList
java.lang.Object
org.maltparser.parser.history.HistoryStructure
org.maltparser.parser.history.HistoryList
public class HistoryList
- extends HistoryStructure
- Author:
- Johan Hall
list
protected ArrayList<HistoryNode> list
nodePool
protected final ObjectPoolList<HistoryNode> nodePool
HistoryList
public HistoryList()
throws MaltChainedException
- Throws:
MaltChainedException
getNewHistoryNode
public HistoryNode getNewHistoryNode(HistoryNode previousNode,
GuideUserAction action)
throws MaltChainedException
- Specified by:
getNewHistoryNode
in class HistoryStructure
- Throws:
MaltChainedException
clear
public void clear()
throws MaltChainedException
- Specified by:
clear
in class HistoryStructure
- Throws:
MaltChainedException
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toFile
public void toFile()
throws MaltChainedException
- Specified by:
toFile
in class HistoryStructure
- Throws:
MaltChainedException
close
public void close()
throws MaltChainedException
- Specified by:
close
in class HistoryStructure
- Throws:
MaltChainedException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.