Interface JSString
-
- All Superinterfaces:
JSValue
- All Known Implementing Classes:
JSStringImpl
public interface JSString 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(String that)Compares with a String value.intcompare(JSString that)Compares with a JSString value.Stringget()-
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
String get()
-
compare
int compare(String that)
Compares with a String value.- Parameters:
that- the value 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(JSString that)
Compares with a JSString value.- Parameters:
that- the value 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
-
-