javax.media.nativewindow.util
Interface PointReadOnly

All Superinterfaces:
Cloneable
All Known Implementing Classes:
Point

public interface PointReadOnly
extends Cloneable

Immutable Point interface


Method Summary
 boolean equals(Object obj)
          Checks whether two points objects are equal.
 int getX()
           
 int getY()
           
 int hashCode()
           
 

Method Detail

getX

int getX()

getY

int getY()

equals

boolean equals(Object obj)
Checks whether two points objects are equal. Two instances of PointReadOnly are equal if the two components y and x are equal.

Overrides:
equals in class Object
Returns:
true if the two points are equal; otherwise false.

hashCode

int hashCode()
Overrides:
hashCode in class Object


Copyright 2010 JogAmp Community.