C E G H I L N P R S T

C

car - Variable in class Seq2
 
cdr - Variable in class Seq2
 
copy() - Method in class Seq
Accessor that copies the sequence.
copy() - Method in class Seq0
 
copy() - Method in class Seq2
 
count() - Method in class Seq.SeqIterator
Counts the elements already returned by next().

E

equals(Object) - Method in class Seq0
 
equals(Object) - Method in class Seq2
 

G

getFirst() - Method in class Seq
Accessor returning the first element in sequence.
getFirst() - Method in class Seq0
 
getFirst() - Method in class Seq2
 
getSubseq() - Method in class Seq
 
getSubseq() - Method in class Seq0
 
getSubseq() - Method in class Seq2
 

H

hasNext() - Method in class Seq.SeqIterator
For use with next().

I

isEmpty() - Method in class Seq
Accessor testing emptyness.
isEmpty() - Method in class Seq0
 
isEmpty() - Method in class Seq2
 
iterator() - Method in class Seq
Create an iterator over the elements of the sequence.

L

length() - Method in class Seq
Accessor determining length.
length() - Method in class Seq0
 
length() - Method in class Seq2
 

N

next() - Method in class Seq.SeqIterator
Returns the next element in the iteration.

P

peek() - Method in class Seq.SeqIterator
Shows the sequence yet to be iterated over.

R

remove() - Method in class Seq.SeqIterator
not implemented
replaceRecent(T) - Method in class Seq.SeqIterator
Alters the element of the sequence that was most recently returned by next()
reverse() - Method in class Seq
Accessor that returns a copy in of the sequence in reverse order.
reverseRecurs(Seq<T>) - Method in class Seq
 
reverseRecurs(Seq<T>) - Method in class Seq0
 
reverseRecurs(Seq<T>) - Method in class Seq2
 

S

Seq<T> - Class in <Unnamed>
Implements a generic sequence that can be split, spliced, reversed, or tested for equality.
Seq() - Constructor for class Seq
 
Seq.SeqIterator - Class in <Unnamed>
An iterator class capable of mutating the sequence.
Seq0<T> - Class in <Unnamed>
A empty sequence subclass of Seq.
Seq0() - Constructor for class Seq0
 
Seq2<T> - Class in <Unnamed>
A nonempty sequence subclass of Seq.
Seq2(T, Seq<T>) - Constructor for class Seq2
 
Seq2(T) - Constructor for class Seq2
 
setFirst(T) - Method in class Seq
Mutator that resets the first value of the sequence.
setFirst(T) - Method in class Seq0
 
setFirst(T) - Method in class Seq2
 
setSubseq(Seq<T>) - Method in class Seq
 
setSubseq(Seq<T>) - Method in class Seq0
 
setSubseq(Seq<T>) - Method in class Seq2
 
splice(Seq<T>) - Method in class Seq.SeqIterator
Splices a sequence into the new sequence--between the subsequences that would be separated with split().
split() - Method in class Seq.SeqIterator
Splits off the part of the sequence that peek() shows.

T

toString() - Method in class Seq
String representation obtained applying each elements toString.
toStringRecurs(int) - Method in class Seq
 
toStringRecurs(int) - Method in class Seq0
 
toStringRecurs(int) - Method in class Seq2
 

C E G H I L N P R S T