max method
Implementation
Coordinate max(Coordinate maxCoor)
{
this.x = Math.max(this.x, maxCoor.x);
this.y = Math.max(this.y, maxCoor.y);
return this;
}
Coordinate max(Coordinate maxCoor)
{
this.x = Math.max(this.x, maxCoor.x);
this.y = Math.max(this.y, maxCoor.y);
return this;
}