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