Causes current thread to wait until another thread invokes the
method or the
method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.