android6.0 PullToRefreshWebView中的FloatMath.floor()不能用了如何替换

android6.0 PullToRefreshWebView中的FloatMath.floor()不能用了怎么替换
protected boolean isReadyForPullEnd() {
float exactContentHeight = FloatMath.floor(mRefreshableView.getContentHeight() * mRefreshableView.getScale());
return mRefreshableView.getScrollY() >= (exactContentHeight - mRefreshableView.getHeight());
}


其中floor要报错怎么替换啊 

------解决思路----------------------
Android6.0使用 Math.floor 代替 FloatMath.floor 即可;