private static enum Funnels.LongFunnel extends java.lang.Enum<Funnels.LongFunnel> implements Funnel<java.lang.Long>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
funnel(java.lang.Long from,
PrimitiveSink into)
Sends a stream of data from the
from object into the sink into . |
java.lang.String |
toString() |
static Funnels.LongFunnel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Funnels.LongFunnel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Funnels.LongFunnel INSTANCE
public static Funnels.LongFunnel[] values()
for (Funnels.LongFunnel c : Funnels.LongFunnel.values()) System.out.println(c);
public static Funnels.LongFunnel 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(java.lang.Long from, PrimitiveSink into)
Funnel
from
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.LongFunnel>