public static class PropertyValueUtils.Numeric extends Object
| Constructor and Description |
|---|
Numeric() |
| Modifier and Type | Method and Description |
|---|---|
static PropertyValue |
add(PropertyValue aValue,
PropertyValue bValue)
Adds two numerical property values.
|
static PropertyValue |
max(PropertyValue a,
PropertyValue b)
Compares two numerical property values and returns the bigger one.
|
static PropertyValue |
min(PropertyValue a,
PropertyValue b)
Compares two numerical property values and returns the smaller one.
|
static PropertyValue |
multiply(PropertyValue aValue,
PropertyValue bValue)
Multiplies two numerical property values.
|
public static PropertyValue add(PropertyValue aValue, PropertyValue bValue)
aValue - first valuebValue - second valuepublic static PropertyValue multiply(PropertyValue aValue, PropertyValue bValue)
aValue - first valuebValue - second valuepublic static PropertyValue min(PropertyValue a, PropertyValue b)
a - first valueb - second valuepublic static PropertyValue max(PropertyValue a, PropertyValue b)
a - first valueb - second valueCopyright © 2014 - 2018–2018 University of Leipzig. All rights reserved.