public enum ClassField extends Enum<ClassField> implements Field<Class<?>>
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
Class<? extends Class<?>> |
getJavaClass() |
static ClassField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetTypeNamebyteArraySize, signedIntSize, signedLongSize, size, stringSize, unsignedIntSize, unsignedLongSizepublic static final ClassField ANY
public static final ClassField ARRAY
public static final ClassField FIELD
public static final ClassField ID
public static final ClassField NAME
public static final ClassField OBJECT
public static ClassField[] values()
for (ClassField c : ClassField.values()) System.out.println(c);
public static ClassField 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 Class<? extends Class<?>> getJavaClass()
getJavaClass in interface org.infinispan.protostream.BaseMarshaller<Class<?>>Copyright © 2021 JBoss by Red Hat. All rights reserved.