java.io.Serializable, java.lang.Comparable<Index.IndexType>public static enum Index.IndexType extends java.lang.Enum<Index.IndexType>
| Modifier and Type | Method | Description |
|---|---|---|
static Index.IndexType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Index.IndexType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index.IndexType SECONDARY
public static final Index.IndexType TEXT
public static Index.IndexType[] values()
for (Index.IndexType c : Index.IndexType.values()) System.out.println(c);
public static Index.IndexType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.