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 Qt.CaseSensitivity
clone()
final int
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
isLessThan
(String s1, String s2) 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
-
setCaseSensitivity
-
setIgnorePunctuation
-
setLocale
-
setNumericMode
-
sortKey
-
swap
-
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
-