private static enum Funnels.ByteArrayFunnel extends java.lang.Enum<Funnels.ByteArrayFunnel> implements Funnel<byte[]>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
funnel(byte[] from,
PrimitiveSink into)
Sends a stream of data from the
from object into the sink into. |
java.lang.String |
toString() |
static Funnels.ByteArrayFunnel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Funnels.ByteArrayFunnel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Funnels.ByteArrayFunnel INSTANCE
public static Funnels.ByteArrayFunnel[] values()
for (Funnels.ByteArrayFunnel c : Funnels.ByteArrayFunnel.values()) System.out.println(c);
public static Funnels.ByteArrayFunnel 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 nullpublic void funnel(byte[] from,
PrimitiveSink into)
Funnelfrom object into the sink into. There is no
requirement that this data be complete enough to fully reconstitute the object later.public java.lang.String toString()
toString in class java.lang.Enum<Funnels.ByteArrayFunnel>