public boolean isInfinite ()

Returns true if this Double value is infinitely large in magnitude, false otherwise.

Returns:  true if the value represented by this object is positive infinity or negative infinity; false otherwise.