Most visited

Recently visited

Added in API level 24

UnicodeSetSpanner.TrimOption

public static final enum UnicodeSetSpanner.TrimOption
extends Enum<UnicodeSetSpanner.TrimOption>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.UnicodeSetSpanner.TrimOption>
     ↳ android.icu.text.UnicodeSetSpanner.TrimOption


Options for the trim() method

Summary

Enum values

UnicodeSetSpanner.TrimOption  BOTH

Trim leading and trailing spans. 

UnicodeSetSpanner.TrimOption  LEADING

Trim leading spans. 

UnicodeSetSpanner.TrimOption  TRAILING

Trim trailing spans. 

Public methods

static UnicodeSetSpanner.TrimOption valueOf(String name)
static final TrimOption[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

BOTH

Added in API level 24
UnicodeSetSpanner.TrimOption BOTH

Trim leading and trailing spans.

LEADING

Added in API level 24
UnicodeSetSpanner.TrimOption LEADING

Trim leading spans.

TRAILING

Added in API level 24
UnicodeSetSpanner.TrimOption TRAILING

Trim trailing spans.

Public methods

valueOf

Added in API level 24
UnicodeSetSpanner.TrimOption valueOf (String name)

Parameters
name String
Returns
UnicodeSetSpanner.TrimOption

values

Added in API level 24
TrimOption[] values ()

Returns
TrimOption[]

Hooray!