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