Causes current thread to wait until either another thread invokes the
notify() method or the notifyAll() method for this object, or a
specified amount of time has elapsed.
Causes current thread to wait until another thread invokes the notify()
method or the notifyAll() method for this object, or some other thread
interrupts the current thread, or a certain amount of real time has
elapsed.
Converts the double argument to a long using the doubleToLongBits method
in class Double, and then writes that long value to the underlying
output stream as an 8-byte quantity, high byte first.
Converts the float argument to an int using the floatToIntBits method in
class Float, and then writes that int value to the underlying output
stream as a 4-byte quantity, high byte first.