public enum WireInternal extends Enum<WireInternal>
Modifier and Type | Method and Description |
---|---|
static void |
compress(ValueOut out,
String compression,
String str)
Deprecated.
|
static <E extends Enum<E>> |
internEnum(Class<E> eClass,
CharSequence cs) |
static void |
rawReadData(WireIn wireIn,
ReadMarshallable dataConsumer) |
static boolean |
readData(long offset,
WireIn wireIn,
ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
static boolean |
readData(WireIn wireIn,
ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
static Throwable |
throwable(ValueIn valueIn,
boolean appendCurrentStack) |
protected static Throwable |
throwable(ValueIn valueIn,
boolean appendCurrentStack,
Throwable throwable) |
static WireInternal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WireInternal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static long |
writeData(WireOut wireOut,
boolean metaData,
boolean notComplete,
WriteMarshallable writer) |
public static WireInternal[] values()
for (WireInternal c : WireInternal.values()) System.out.println(c);
public static WireInternal 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 null@NotNull public static <E extends Enum<E>> E internEnum(@NotNull Class<E> eClass, @NotNull CharSequence cs)
public static long writeData(@NotNull WireOut wireOut, boolean metaData, boolean notComplete, @NotNull WriteMarshallable writer)
public static boolean readData(long offset, @NotNull WireIn wireIn, @Nullable ReadMarshallable metaDataConsumer, @Nullable ReadMarshallable dataConsumer)
public static boolean readData(@NotNull WireIn wireIn, @Nullable ReadMarshallable metaDataConsumer, @Nullable ReadMarshallable dataConsumer)
public static void rawReadData(@NotNull WireIn wireIn, @NotNull ReadMarshallable dataConsumer)
protected static Throwable throwable(@NotNull ValueIn valueIn, boolean appendCurrentStack, Throwable throwable)
@Deprecated public static void compress(@NotNull ValueOut out, @NotNull String compression, String str)
Copyright © 2017. All rights reserved.