public enum PrimitiveMarshaller extends Enum<PrimitiveMarshaller> implements MarshallerProvider
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHARACTER |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
VOID |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Object> |
getJavaClass() |
ProtoStreamMarshaller<?> |
getMarshaller() |
static PrimitiveMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveMarshaller[] |
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 PrimitiveMarshaller VOID
public static final PrimitiveMarshaller BOOLEAN
public static final PrimitiveMarshaller BYTE
public static final PrimitiveMarshaller SHORT
public static final PrimitiveMarshaller INTEGER
public static final PrimitiveMarshaller LONG
public static final PrimitiveMarshaller FLOAT
public static final PrimitiveMarshaller DOUBLE
public static final PrimitiveMarshaller CHARACTER
public static PrimitiveMarshaller[] values()
for (PrimitiveMarshaller c : PrimitiveMarshaller.values()) System.out.println(c);
public static PrimitiveMarshaller 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 © 2021 JBoss by Red Hat. All rights reserved.