public enum OptionalMarshaller extends Enum<OptionalMarshaller> implements MarshallerProvider
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Object> |
getJavaClass() |
ProtoStreamMarshaller<?> |
getMarshaller() |
static OptionalMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionalMarshaller[] |
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, valueOfcast, readFrom, size, writeTogetTypeNamebyteArraySize, signedIntSize, signedLongSize, stringSize, unsignedIntSize, unsignedLongSizepublic static final OptionalMarshaller INT
public static final OptionalMarshaller LONG
public static final OptionalMarshaller DOUBLE
public static final OptionalMarshaller OBJECT
public static OptionalMarshaller[] values()
for (OptionalMarshaller c : OptionalMarshaller.values()) System.out.println(c);
public static OptionalMarshaller 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 Object> getJavaClass()
getJavaClass in interface org.infinispan.protostream.BaseMarshaller<Object>getJavaClass in interface MarshallerProviderpublic ProtoStreamMarshaller<?> getMarshaller()
getMarshaller in interface MarshallerProviderCopyright © 2020 JBoss by Red Hat. All rights reserved.