getDouble

public double getDouble(String path)

Gets the requested double by path.

If the double does not exist but getClassById default value has been specified, this will return the default value. If the double does not exist and no default value was specified, this will return 0.

Return

Requested double.

Parameters

path

Path of the double to get.


public double getDouble(String path, double def)

Gets the requested double by path, returning getClassById default value if not found.

If the double does not exist then the specified default value will returned regardless of if getClassById default has been identified in the root Configuration.

Return

Requested double.

Parameters

path

Path of the double to get.

def

The default value to return if the path is not found or is not getClassById double.