Point.java :  » Byte-Code » PROSE » ch » ethz » prose » Java Open Source

Java Open Source » Byte Code » PROSE 
PROSE » ch » ethz » prose » Point.java
//$Id$
//=====================================================================
//
//(history at end)
//

package ch.ethz.prose;

/**
 * Class used for method redefinition JUnit test.
 *
 * @version     $Revision$
 * @author    Angela Nicoara 
 */

public class Point {
  
  int x;
  
  private int y;
  
  public int getX() {
    return x;
  }
  
  public int getY() {
    return y;
  }
  
  public void setX(int x) {
    this.x = x;
  }
  
  public void setY(int y) {
    this.y = y;
  }
  
  public String toString() {
    return "(" + x + ", " + y + ")";
  }
  
}

//======================================================================
//
// $Log$
//
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.