Interface BlockPropertyEncoder<P>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BlockPropertyEncoder<P>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
encodeProperty(DataOutput out, P property)
default void
finish(DataOutput out)
static <P> BlockPropertyEncoder<P>
noopEncoder()
default void
start(DataOutput out)
-
-
-
Method Detail
-
noopEncoder
static <P> BlockPropertyEncoder<P> noopEncoder()
-
start
default void start(DataOutput out) throws IOException
- Throws:
IOException
-
encodeProperty
void encodeProperty(DataOutput out, P property) throws IOException
- Throws:
IOException
-
finish
default void finish(DataOutput out) throws IOException
- Throws:
IOException
-
-