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


Method Index

 o append(JIPList, JIPList)
Returns a new List by appending list2 to list1
 o getHead()
Returns the head of the List
 o getNewList(JIPTerm, JIPList)
Returns a new List
 o getTail()
Returns the tail of the List
 o reverse()
Returns a new List by reversing this

Methods

 o 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
 o 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
 o reverse
 public JIPList reverse()
Returns a new List by reversing this

 o getHead
 public JIPTerm getHead()
Returns the head of the List

 o getTail
 public JIPList getTail()
Returns the tail of the List


All Packages  Class Hierarchy  This Package  Previous  Next  Index