Package org.apache.calcite.runtime
Class Resources.DoubleProp
- java.lang.Object
-
- org.apache.calcite.runtime.Resources.Element
-
- org.apache.calcite.runtime.Resources.Prop
-
- org.apache.calcite.runtime.Resources.DoubleProp
-
- Enclosing class:
- Resources
public static class Resources.DoubleProp extends Resources.Prop
Double property instance.
-
-
Field Summary
Fields Modifier and Type Field Description private double
defaultValue
-
Fields inherited from class org.apache.calcite.runtime.Resources.Prop
accessor, hasDefault
-
Fields inherited from class org.apache.calcite.runtime.Resources.Element
key, method
-
-
Constructor Summary
Constructors Constructor Description DoubleProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
defaultValue()
double
get()
Returns the value of this double property.double
get(double defaultValue)
Returns the value of this double property, returning the given default value if the property is not set.-
Methods inherited from class org.apache.calcite.runtime.Resources.Prop
checkDefault, checkDefault2, hasDefault, isSet
-
Methods inherited from class org.apache.calcite.runtime.Resources.Element
deriveKey
-
-
-
-
Constructor Detail
-
DoubleProp
public DoubleProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
-