public interface Marshallable extends WriteMarshallable, ReadMarshallable
EMPTYDISCARD| Modifier and Type | Method and Description |
|---|---|
static boolean |
$equals(WriteMarshallable $this,
Object o) |
static int |
$hashCode(WriteMarshallable $this) |
static String |
$toString(WriteMarshallable $this) |
default <T extends Marshallable> |
copyFrom(T t) |
default <T extends Marshallable & KeyedMarshallable> |
deepCopy() |
static <T> T |
fromFile(String filename) |
static Map<String,Object> |
fromFileAsMap(String filename) |
static <V> Map<String,V> |
fromFileAsMap(String filename,
Class<V> valueClass) |
static Map<String,Object> |
fromHexString(CharSequence cs) |
static <T> T |
fromString(CharSequence cs) |
default <K,T extends Marshallable> |
mergeToMap(Map<K,T> map,
java.util.function.Function<T,K> getKey) |
default void |
readMarshallable(WireIn wire)
Straight line ordered decoding.
|
default void |
writeMarshallable(WireOut wire)
Write data to the wire
|
writeValuestatic boolean $equals(WriteMarshallable $this, Object o)
static int $hashCode(WriteMarshallable $this)
static String $toString(WriteMarshallable $this)
static <T> T fromString(CharSequence cs)
static <T> T fromFile(String filename) throws IOException
IOExceptionstatic Map<String,Object> fromFileAsMap(String filename) throws IOException
IOExceptionstatic <V> Map<String,V> fromFileAsMap(String filename, Class<V> valueClass) throws IOException
IOExceptionstatic Map<String,Object> fromHexString(CharSequence cs)
default void readMarshallable(@NotNull
WireIn wire)
throws net.openhft.chronicle.core.io.IORuntimeException
ReadMarshallablereadMarshallable in interface ReadMarshallablewire - to read from in an ordered manner.net.openhft.chronicle.core.io.IORuntimeException - the stream wasn't ordered or formatted as expected.default void writeMarshallable(@NotNull
WireOut wire)
WriteMarshallablewriteMarshallable in interface WriteMarshallablewire - to write to.default <T extends Marshallable & KeyedMarshallable> T deepCopy()
default <T extends Marshallable> T copyFrom(T t)
default <K,T extends Marshallable> T mergeToMap(Map<K,T> map, java.util.function.Function<T,K> getKey)
Copyright © 2016. All rights reserved.