Interface BlockPropertyDecoder<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 BlockPropertyDecoder<P>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
finish(DataInput in)
static <P> BlockPropertyDecoder<@Nullable P>
nullDecoder()
P
readProperty(DataInput in)
default void
start(DataInput in)
-
-
-
Method Detail
-
nullDecoder
static <P> BlockPropertyDecoder<@Nullable P> nullDecoder()
-
start
default void start(DataInput in) throws IOException
- Throws:
IOException
-
readProperty
P readProperty(DataInput in) throws IOException
- Throws:
IOException
-
finish
default void finish(DataInput in) throws IOException
- Throws:
IOException
-
-