Method Signature | Description | Parameters | Example |
---|---|---|---|
| Returns the value of the Double calling the byteValue method represented as a byte. | No method parameters. |
|
| Compares the value of two Double arguments. Returns 0 if the arguments are equal, less than 0 if the first argument is less than the second, and greater than 0 if the first argument is greater than the second. | Double valueOne - First value to compare. Double valueTwo - Second value to compare. |
|
| Compares the value of the Double calling the compareTo method with a Double passed as an argument. Returns 0 if the argument is equal to the Double calling the method, less than 0 if the Double calling the method is less than the argument, and greater than 0 if the Double calling the method is greater than the argument. | Double value - Value to compare against the Double calling the method. |
|
| Returns a Double value matching the numeric value contained in the String passed as an argument. | String string - String to convert to a Double value. |
|
| Returns a String representing the Double value passed as an argument. | Double value - Double value to convert to a String. |
|
| Returns a Double value representing the value of a String or Double passed as an argument. | String string - String from which to extract a Double value. Double value - Double object form which to extract a Double value. |
|
Additional Methods
Method Signature | Description | Parameters | Example |
---|---|---|---|
| Returns the value of the Double calling this method. | No method parameters. |
|
| Compares the double calling this method to the Object passed as an argument. Returns true if the argument is a Double value representing the same value as the Double calling the argument, otherwise returns false. | Object obj - An Object against which the Double calling the method is compared. |
|
| Returns the float value of the Double calling this method. | No method parameters. |
|
| Returns a hash code for the Double calling this method. | No method parameters. |
|
| Returns the value of the Double calling this method as an Int type. | No method parameters. |
|
| Returns true if the Double calling this method is infinitely large, otherwise returns false. | No method parameters. |
|
| Returns true if the Double calling this method is not a number, otherwise returns false. | No method parameters. |
|
| Returns the value of the Double calling this method as a Long type. | No method parameters. |
|
| Returns the value of the Double calling this method as a Short type. | No method parameters. |
|
| Returns the Double passed as an argument as a hexadecimal string. | Double value - Double to convert to a hexidecimal string. |
|