ListFormatter.Type
public
static
final
enum
ListFormatter.Type
extends Enum<ListFormatter.Type>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.ListFormatter.Type> | |
↳ | android.icu.text.ListFormatter.Type |
Type of meaning expressed by the list.
Summary
Enum values | |
---|---|
ListFormatter.Type |
AND
Conjunction formatting, e.g. "Alice, Bob, Charlie, and Delta". |
ListFormatter.Type |
OR
Disjunction (or alternative, or simply one of) formatting, e.g. |
ListFormatter.Type |
UNITS
Formatting of a list of values with units, e.g. "5 pounds, 12 ounces". |
Public methods | |
---|---|
static
ListFormatter.Type
|
valueOf(String name)
|
static
final
Type[]
|
values()
|
Inherited methods | |
---|---|
Enum values
AND
public static final ListFormatter.Type AND
Conjunction formatting, e.g. "Alice, Bob, Charlie, and Delta".
OR
public static final ListFormatter.Type OR
Disjunction (or alternative, or simply one of) formatting, e.g. "Alice, Bob, Charlie, or Delta".
UNITS
public static final ListFormatter.Type UNITS
Formatting of a list of values with units, e.g. "5 pounds, 12 ounces".
Public methods
valueOf
public static ListFormatter.Type valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
ListFormatter.Type |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.
pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier! Saves Data!
--- a PPN by Garber Painting Akron. With Image Size Reduction included!
Fetched URL: http://developer.android.com/reference/android/icu/text/ListFormatter.Type
Alternative Proxies: