Package scranton.list

Contains interfaces for several list paradigms, along with various implementations.

See:
          Description

Interface Summary
PositionalList A positional list may be specified as an ordered pair this = (R, L), where L and R are n-tuples, L = () or (l0, l1, ..., l#(L)-1 and R = () or (r0, r1, ..., r#(R)-1 L is the sublist to the left of the current position and R is the sublist to the right of the current positon
RecursiveList A Java interface that parallels lists as defined by John McCarthy in LISP, a list is either empty or it is an ordered pair (head, Tail) where "head" is the object in the list and "Tail" is a, possibly empty, list (sublist).
 

Class Summary
PositionalListVia2Stacks LinkedSList implements the PositionalList interface with a pair of stacks.
RecursiveListViaLinear1Ind A implementation of the RecursiveList paradigm using the Linear1Ind class, the implementation represents an empty list with a "null object".
 

Package scranton.list Description

Contains interfaces for several list paradigms, along with various implementations.