What is the Java equivalent of following C++ code?
float f=12.5f; int& i = reinterpret_cast<int&>(f);
float f = 12.5f; int i = Float.floatToIntBits(f);