lightbulb_outline Please take our October 2018 developer survey. Start survey

UnicodeSet.ComparisonStyle

public static final enum UnicodeSet.ComparisonStyle
extends Enum<UnicodeSet.ComparisonStyle>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.UnicodeSet.ComparisonStyle>
     ↳ android.icu.text.UnicodeSet.ComparisonStyle


Comparison style enums used by UnicodeSet.compareTo(UnicodeSet, ComparisonStyle).

Summary

Enum values

UnicodeSet.ComparisonStyle  LEXICOGRAPHIC

 

UnicodeSet.ComparisonStyle  LONGER_FIRST

 

UnicodeSet.ComparisonStyle  SHORTER_FIRST

 

Public methods

static UnicodeSet.ComparisonStyle valueOf(String name)
static final ComparisonStyle[] values()

Inherited methods

Enum values

LEXICOGRAPHIC

added in API level 24
public static final UnicodeSet.ComparisonStyle LEXICOGRAPHIC

LONGER_FIRST

added in API level 24
public static final UnicodeSet.ComparisonStyle LONGER_FIRST

SHORTER_FIRST

added in API level 24
public static final UnicodeSet.ComparisonStyle SHORTER_FIRST

Public methods

valueOf

added in API level 24
public static UnicodeSet.ComparisonStyle valueOf (String name)

Parameters
name String

Returns
UnicodeSet.ComparisonStyle

values

added in API level 24
public static final ComparisonStyle[] values ()

Returns
ComparisonStyle[]