Interface JSInteger
-
- All Superinterfaces:
JSValue
- All Known Implementing Classes:
JSIntegerImpl
public interface JSInteger extends JSValue
User: mike Date: 10/28/19 Time: 12:09
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompare(int that)Compares with an int value numerically.intcompare(JSInteger that)Compares with an int value numerically.intget()-
Methods inherited from interface org.bedework.jsforj.model.values.JSValue
clear, copy, getBooleanProperty, getBooleanValue, getChanged, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
-
-
-
Method Detail
-
get
int get()
-
compare
int compare(int that)
Compares with an int value numerically. The value returned is identical to what would be returned by: Integer.valueOf(this.value).compareTo(Integer.valueOf(that))- Parameters:
that- the int to compare- Returns:
- the value 0 if this == that; a value less than 0 if this < that; and a value greater than 0 if this > that
-
compare
int compare(JSInteger that)
Compares with an int value numerically. The value returned is identical to what would be returned by: Integer.valueOf(this.value).compareTo(Integer.valueOf(that))- Parameters:
that- the int to compare- Returns:
- the value 0 if this == that; a value less than 0 if this < that; and a value greater than 0 if this > that
-
-