Back to index

plt-scheme  4.2.1
Public Member Functions | Public Attributes
graphics.Posn Class Reference

List of all members.

Public Member Functions

 Posn (int x, int y)
boolean equals (Object p)

Public Attributes

int x
int y

Detailed Description

Definition at line 3 of file Posn.java.


Constructor & Destructor Documentation

graphics.Posn.Posn ( int  x,
int  y 
) [inline]

Definition at line 7 of file Posn.java.

                            {
    this.x = x;
    this.y = y;
  }

Here is the caller graph for this function:


Member Function Documentation

boolean graphics.Posn.equals ( Object  p) [inline]

Definition at line 12 of file Posn.java.

                                  {
    return p instanceof Posn && ((Posn) p).x==this.x && ((Posn) p).y == this.y;
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 4 of file Posn.java.

Definition at line 5 of file Posn.java.


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