AbstractGlobalizationSettings
Inheritance: java.lang.Object
public abstract class AbstractGlobalizationSettings
Represents the globalization settings.
Constructors
Constructor | Description |
---|---|
AbstractGlobalizationSettings() |
Methods
Method | Description |
---|---|
compare(String v1, String v2, boolean ignoreCase) | Compares two string values according to certain collation rules. |
equals(Object arg0) | |
getClass() | |
getCollationKey(String v, boolean ignoreCase) | Transforms the string into a comparable object according to certain collation rules. |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
AbstractGlobalizationSettings()
public AbstractGlobalizationSettings()
compare(String v1, String v2, boolean ignoreCase)
public int compare(String v1, String v2, boolean ignoreCase)
Compares two string values according to certain collation rules.
Parameters:
Parameter | Type | Description |
---|---|---|
v1 | java.lang.String | the first string |
v2 | java.lang.String | the second string |
ignoreCase | boolean | whether ignore case when comparing values |
Returns: int - Integer that indicates the lexical relationship between the two comparands
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCollationKey(String v, boolean ignoreCase)
public Comparable getCollationKey(String v, boolean ignoreCase)
Transforms the string into a comparable object according to certain collation rules.
Parameters:
Parameter | Type | Description |
---|---|---|
v | java.lang.String | String value needs to be compared with others. |
ignoreCase | boolean | whether ignore case when comparing values |
Returns: java.lang.Comparable - Object can be used to compare or sort string values
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |