public class GUIBenutzerNameComparator
extends java.lang.Object
implements java.util.Comparator
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object u1Init,
java.lang.Object u2Init) |
int |
compareNames(java.lang.String n1,
java.lang.String n2)
begins a more in-depth analysis of the names, using convenience methods that Benutzer provides
|
int |
compareNameTokens(java.lang.String token1,
java.lang.String token2,
java.text.Collator coll) |
static GUIBenutzerNameComparator |
getInstance() |
public static GUIBenutzerNameComparator getInstance()
public int compare(java.lang.Object u1Init, java.lang.Object u2Init)
compare
in interface java.util.Comparator
public int compareNames(java.lang.String n1, java.lang.String n2)
public int compareNameTokens(java.lang.String token1, java.lang.String token2, java.text.Collator coll)
token1
- May consist either of digits or text only.token2
- May consist either of digits or text only.coll
- Collator to use. Can be passed from the outside to make sure language remains the same for every callCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.