Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

CollationKey.BoundMode

public static final class CollationKey.BoundMode
extends Object

java.lang.Object
   ↳ android.icu.text.CollationKey.BoundMode


Options that used in the API CollationKey.getBound() for getting a CollationKey based on the bound mode requested.

Summary

Constants

int LOWER

Lower bound

int UPPER

Upper bound that will match strings of exact size

int UPPER_LONG

Upper bound that will match all the strings that have the same initial substring as the given string

Inherited methods

Constants

LOWER

added in API level 24
public static final int LOWER

Lower bound

Constant Value: 0 (0x00000000)

UPPER

added in API level 24
public static final int UPPER

Upper bound that will match strings of exact size

Constant Value: 1 (0x00000001)

UPPER_LONG

added in API level 24
public static final int UPPER_LONG

Upper bound that will match all the strings that have the same initial substring as the given string

Constant Value: 2 (0x00000002)