org.apache.ctakes.dependency.parser.util
Class DependencyPath

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<ConllDependencyNode>
                  extended by org.apache.ctakes.dependency.parser.util.DependencyPath
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<ConllDependencyNode>, java.util.Collection<ConllDependencyNode>, java.util.Deque<ConllDependencyNode>, java.util.List<ConllDependencyNode>, java.util.Queue<ConllDependencyNode>

public class DependencyPath
extends java.util.LinkedList<ConllDependencyNode>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DependencyPath()
           
 
Method Summary
 ConllDependencyNode getCommonNode()
           
 boolean isCommonNode(ConllDependencyNode node)
           
 DependencyPath reverse()
           
protected  void setCommonNode(ConllDependencyNode node)
           
 java.lang.String toString()
           
 java.lang.String toSyntaxString()
           
 java.lang.String toTripleString()
           
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Constructor Detail

DependencyPath

public DependencyPath()
Method Detail

setCommonNode

protected void setCommonNode(ConllDependencyNode node)

getCommonNode

public ConllDependencyNode getCommonNode()

isCommonNode

public boolean isCommonNode(ConllDependencyNode node)

reverse

public DependencyPath reverse()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<ConllDependencyNode>

toTripleString

public java.lang.String toTripleString()

toSyntaxString

public java.lang.String toSyntaxString()