package ch21concurrent.examples;
import ch21concurrent.annotations.*;
/**
* Point
* <p/>
* Immutable Point class used by DelegatingVehicleTracker
*
* @author Brian Goetz and Tim Peierls
*/
@Immutable
public class Point {
public final int x, y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
}