public Vector clampY(int min,int max){
  return new Vector(x,Math.max(min,Math.min(max,y)),z);
}

public Vector clampY ( int min , int max ) { return new Vector ( x , Math . max ( min , Math . min ( max , y ) ) , z ) ; }
clamp the y component .
