All Packages Class Hierarchy This Package Previous Next Index
Class JIP.engine.JIPList
java.lang.Object
|
+----JIP.engine.JIPTerm
|
+----JIP.engine.JIPList
- public class JIPList
- extends JIPTerm
JIPList is a wrapper to prolog List
- Version:
- 4.x.x
Home Page : http:\\www.geocities.com\jiprolog
- Author:
- Ugo Chirico 2000
-
append(JIPList, JIPList)
- Returns a new List by appending list2 to list1
-
getHead()
- Returns the head of the List
-
getNewList(JIPTerm, JIPList)
- Returns a new List
-
getTail()
- Returns the tail of the List
-
reverse()
- Returns a new List by reversing this
getNewList
public static JIPList getNewList(JIPTerm head,
JIPList tail)
- Returns a new List
- Parameters:
- head - the head of the List
- tail - the tail the List
append
public static JIPList append(JIPList list1,
JIPList list2)
- Returns a new List by appending list2 to list1
- Parameters:
- head - the list1 of the first list
- tail - the list2 the second list
reverse
public JIPList reverse()
- Returns a new List by reversing this
getHead
public JIPTerm getHead()
- Returns the head of the List
getTail
public JIPList getTail()
- Returns the tail of the List
All Packages Class Hierarchy This Package Previous Next Index