public static enum CollectionArgs.SortMode extends Enum<CollectionArgs.SortMode>
Enum Constant and Description |
---|
ALPHA
Collate alphabetically.
|
ALPHA_CASE
Collate alphabetically, case-sensitive.
|
AUTO
If all values of the field are numbers, collate numerically.
|
NUM
Collate numerically.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CollectionArgs.SortMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionArgs.SortMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionArgs.SortMode AUTO
public static final CollectionArgs.SortMode ALPHA
public static final CollectionArgs.SortMode ALPHA_CASE
public static final CollectionArgs.SortMode NUM
public static CollectionArgs.SortMode[] values()
for (CollectionArgs.SortMode c : CollectionArgs.SortMode.values()) System.out.println(c);
public static CollectionArgs.SortMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CollectionArgs.SortMode>
Copyright © 2022 Splunk, Inc.. All rights reserved.