Java Code Examples for com.fasterxml.jackson.core.io.NumberInput#parseDouble()

The following examples show how to use com.fasterxml.jackson.core.io.NumberInput#parseDouble() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StdKeyDeserializer.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
protected double _parseDouble(String key) throws IllegalArgumentException {
    return NumberInput.parseDouble(key);
}
 
Example 2
Source File: TextBuffer.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Convenience method for converting contents of the buffer
 * into a Double value.
 */
public double contentsAsDouble() throws NumberFormatException {
    return NumberInput.parseDouble(contentsAsString());
}
 
Example 3
Source File: TextBuffer.java    From openbd-core with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Convenience method for converting contents of the buffer
 * into a Double value.
 */
public double contentsAsDouble() throws NumberFormatException {
    return NumberInput.parseDouble(contentsAsString());
}