opennlp.leo.prolog
Class PBrackList
java.lang.Object
|
+--opennlp.leo.prolog.PList
|
+--opennlp.leo.prolog.PBrackList
- All Implemented Interfaces:
- PTerm
- public class PBrackList
- extends PList
Java representation of a bracketed Prolog list.
- Version:
- $Revision: 1.1.1.1 $, $Date: 2001/10/22 11:12:36 $
- Author:
- Jason Baldridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tail
public PVar tail
PBrackList
public PBrackList(org.jdom.Element e)
PBrackList
public PBrackList(PTerm[] l)
hasTail
public boolean hasTail()
getTail
public PVar getTail()
addTail
public void addTail(PVar t)
toXml
public java.lang.String toXml(java.lang.String indent)
- Specified by:
toXml
in interface PTerm
- Overrides:
toXml
in class PList
toString
public java.lang.String toString()
- Overrides:
toString
in class PList
Copyright © 2002 Research Institute for Advanced Computer Science. All Rights Reserved.