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