|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproper.imp.Data
proper.imp.List
public class List
This class is used to store a list of objects. Used for storing a Prolog list.
| Constructor Summary | |
|---|---|
List(int id)
initalizes the object |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
returns the name of the container |
static void |
main(java.lang.String[] args)
for testing only |
java.lang.String |
toString()
returns the list in a String representation |
| Methods inherited from class proper.imp.Data |
|---|
add, add, clone, get, getData, getID, getIndex, getParent, getParentIndex, hasParent, isNull, isNull, remove, setID, setParent, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public List(int id)
| Method Detail |
|---|
public java.lang.String getName()
getName in class Datapublic java.lang.String toString()
toString in class Data
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||