Back to index

plt-scheme  4.2.1
Public Member Functions | Package Functions | Package Attributes
graphics.LargerSeq Class Reference
Inheritance diagram for graphics.LargerSeq:
Inheritance graph
[legend]
Collaboration diagram for graphics.LargerSeq:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LargerSeq (Command f, CommandSequence r)
CommandSequence reverse ()

Package Functions

void drawAll (View v)
CommandSequence rev (CommandSequence acc)

Package Attributes

Command first
CommandSequence rest

Detailed Description

Definition at line 3 of file LargerSeq.java.


Constructor & Destructor Documentation

graphics.LargerSeq.LargerSeq ( Command  f,
CommandSequence  r 
) [inline]

Definition at line 6 of file LargerSeq.java.

                                                 {
    first = f; rest = r;
  }

Here is the caller graph for this function:


Member Function Documentation

void graphics.LargerSeq.drawAll ( View  v) [inline, package, virtual]

Implements graphics.CommandSequence.

Definition at line 9 of file LargerSeq.java.

                        {
    v.drawToCanvas(first);
    rest.drawAll(v);
  }

Here is the call graph for this function:

CommandSequence graphics.LargerSeq.rev ( CommandSequence  acc) [inline, package, virtual]

Implements graphics.CommandSequence.

Definition at line 13 of file LargerSeq.java.

                                             {
    return rest.rev( new LargerSeq(first, acc));
  }

Here is the call graph for this function:

Definition at line 5 of file CommandSequence.java.

                                   {
    return this.rev(new EmptySeq());
  }

Here is the call graph for this function:


Member Data Documentation

Command graphics.LargerSeq.first [package]

Definition at line 4 of file LargerSeq.java.

Definition at line 5 of file LargerSeq.java.


The documentation for this class was generated from the following file: