Here you can find the source of difference(float x, float y)
public static float difference(float x, float y)
//package com.java2s; // {LICENSE}/*w w w. j av a2 s. c om*/ public class Main { public static float difference(float x, float y) { return Math.abs(x - y); } }