All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.AbstractGlobalizationSettings.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





AbstractGlobalizationSettings




com.aspose.cells
Class AbstractGlobalizationSettings

java.lang.Object
    extended by com.aspose.cells.AbstractGlobalizationSettings
Direct Known Subclasses:
ChartGlobalizationSettings, GlobalizationSettings

public abstract class AbstractGlobalizationSettings 
extends java.lang.Object

Represents the globalization settings.


Method Summary
intcompare(java.lang.String v1, java.lang.String v2, boolean ignoreCase)
           Compares two string values according to certain collation rules.
System.IComparablegetCollationKey(java.lang.String v, boolean ignoreCase)
           Transforms the string into a comparable object according to certain collation rules.
 

Method Detail

compare

public int compare(java.lang.String v1, java.lang.String v2, boolean ignoreCase)
Compares two string values according to certain collation rules.
Parameters:
v1 - the first string
v2 - the second string
ignoreCase - whether ignore case when comparing values
Returns:
Integer that indicates the lexical relationship between the two comparands

getCollationKey

public System.IComparable getCollationKey(java.lang.String v, boolean ignoreCase)
Transforms the string into a comparable object according to certain collation rules.
Parameters:
v - String value needs to be compared with others.
ignoreCase - whether ignore case when comparing values
Returns:
Object can be used to compare or sort string values

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy