Class JSIntegerImpl
- java.lang.Object
-
- org.bedework.jsforj.impl.values.JSValueImpl
-
- org.bedework.jsforj.impl.values.dataTypes.JSIntegerImpl
-
public class JSIntegerImpl extends JSValueImpl implements JSInteger
User: mike Date: 5/18/20 Time: 17:50
-
-
Field Summary
-
Fields inherited from class org.bedework.jsforj.impl.values.JSValueImpl
factory, type
-
-
Constructor Summary
Constructors Constructor Description JSIntegerImpl(int value)JSIntegerImpl(String typeName, com.fasterxml.jackson.databind.JsonNode node)
-
Method Summary
All Methods Instance Methods Concrete 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()StringtoString()-
Methods inherited from class org.bedework.jsforj.impl.values.JSValueImpl
assertArray, assertBooleanNode, assertIntNode, assertObject, assertStringNode, clear, equals, getBooleanProperty, getBooleanValue, getChanged, getFactory, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setMasterCopy, setOwner, setParentProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
JSIntegerImpl
public JSIntegerImpl(int value)
-
JSIntegerImpl
public JSIntegerImpl(String typeName, com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Detail
-
compare
public int compare(int that)
Description copied from interface:JSIntegerCompares with an int value numerically. The value returned is identical to what would be returned by: Integer.valueOf(this.value).compareTo(Integer.valueOf(that))
-
compare
public int compare(JSInteger that)
Description copied from interface:JSIntegerCompares with an int value numerically. The value returned is identical to what would be returned by: Integer.valueOf(this.value).compareTo(Integer.valueOf(that))
-
-