Code example for TreeSet

Methods: last, size

0
		} else { 
			return 0; 
		} 
	} 
	public float getRightX() { 
		if (mPoints.size() > 0) {
			return mPoints.last().point.x;
		} else { 
			return 0; 
		} 
	} 
	 
	public float getWidth() { 
		return getRightX()-getLeftX(); 
	} 
	 
	public PointF getY(float x) {		
		PointF ret = floorElement(x, mPoints);
		return new PointF(ret.x,ret.y);
	} 
	public float[] getDx() {