ix.util.lisp
Class Null

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.AbstractSequentialList
                    |
                    +--ix.util.lisp.LList
                          |
                          +--ix.util.lisp.Null
All Implemented Interfaces:
java.util.Collection, LispObject, java.util.List, java.io.Serializable

public final class Null
extends LList

The class of Lisp.NIL, and of nothing else.

See Also:
Serialized Form

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
(package private) Null()
           
 
Method Summary
 LList append(LList tail)
           
 java.lang.Object car()
           
 LList cdr()
           
 java.lang.Object elementAt(int i)
           
 java.util.Enumeration elements()
           
 boolean equal(LList l)
           
 boolean find(java.lang.Object a)
           
 boolean isNull()
           
 int length()
           
protected  java.lang.Object readResolve()
           
 java.lang.String toString()
           
 
Methods inherited from class ix.util.lisp.LList
clone, delete, drop, flatmap, get, insert, intersect, isEmpty, iterator, lastCons, lastIndexOf, listIterator, mapc, mapcar, permute, replaceAll, reverse, size, take, walkTree, without
 
Methods inherited from class java.util.AbstractSequentialList
add, addAll, get, remove, set
 
Methods inherited from class java.util.AbstractList
add, clear, equals, hashCode, indexOf, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

Null

Null()
Method Detail

isNull

public boolean isNull()
Overrides:
isNull in class LList

car

public java.lang.Object car()
Overrides:
car in class LList

cdr

public LList cdr()
Overrides:
cdr in class LList

length

public int length()
Overrides:
length in class LList

elementAt

public java.lang.Object elementAt(int i)
Overrides:
elementAt in class LList

elements

public java.util.Enumeration elements()
Overrides:
elements in class LList

equal

public boolean equal(LList l)
Overrides:
equal in class LList

find

public boolean find(java.lang.Object a)
Overrides:
find in class LList

append

public LList append(LList tail)
Overrides:
append in class LList

readResolve

protected java.lang.Object readResolve()
                                throws java.io.ObjectStreamException

toString

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