java.lang.Object
io.qt.QtObject
io.qt.core.QCollator
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Compares strings according to a localized collation algorithm
Java wrapper for Qt's class QCollator
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final Qt.CaseSensitivity
clone()
Creates and returns a copy of this object.final int
static int
defaultCompare
(String s1, String s2) static QCollatorSortKey
defaultSortKey
(String key) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final boolean
final boolean
final boolean
isLessThan
(String s1, String s2) Delegate forinvoke(java.lang.String, java.lang.String)
.final QLocale
locale()
final boolean
final void
final void
setIgnorePunctuation
(boolean on) final void
final void
setNumericMode
(boolean on) final QCollatorSortKey
final void
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QCollator
public QCollator() -
QCollator
-
QCollator
-
QCollator
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
caseSensitivity
-
compare
-
ignorePunctuation
-
locale
-
numericMode
-
isLessThan
Delegate for
invoke(java.lang.String, java.lang.String)
. -
invoke
-
assign
-
setCaseSensitivity
-
setIgnorePunctuation
-
setLocale
-
setNumericMode
-
sortKey
-
swap
-
defaultCompare
-
defaultSortKey
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
Creates and returns a copy of this object.
-