public interface ValueIn
| Modifier and Type | Method and Description |
|---|---|
<T> T |
applyToMarshallable(java.util.function.Function<WireIn,T> marshallableReader) |
boolean |
bool() |
WireIn |
bool(BooleanConsumer flag) |
byte[] |
bytes() |
WireIn |
bytes(net.openhft.chronicle.bytes.Bytes<?> toBytes) |
WireIn |
bytes(java.util.function.Consumer<WireIn> wireInConsumer) |
WireIn |
date(java.util.function.Consumer<java.time.LocalDate> localDate) |
float |
float32() |
WireIn |
float32(FloatConsumer v) |
double |
float64() |
WireIn |
float64(java.util.function.DoubleConsumer v) |
boolean |
hasNext() |
boolean |
hasNextSequenceItem() |
short |
int16() |
WireIn |
int16(ShortConsumer i) |
int |
int32() |
WireIn |
int32(java.util.function.IntConsumer i) |
WireIn |
int32(net.openhft.chronicle.core.values.IntValue value,
java.util.function.Consumer<net.openhft.chronicle.core.values.IntValue> setter) |
long |
int64() |
WireIn |
int64(java.util.function.LongConsumer i) |
WireIn |
int64(net.openhft.chronicle.core.values.LongValue value,
java.util.function.Consumer<net.openhft.chronicle.core.values.LongValue> setter) |
WireIn |
int64array(net.openhft.chronicle.core.values.LongArrayValues values,
java.util.function.Consumer<net.openhft.chronicle.core.values.LongArrayValues> setter) |
byte |
int8() |
WireIn |
int8(ByteConsumer i) |
boolean |
isNull() |
<K,V> Map<K,V> |
map(Class<K> kClazz,
Class<V> vClass,
Map<K,V> usingMap)
reads the map from the wire
|
default void |
map(Map<String,String> usingMap)
reads the map from the wire
|
WireIn |
marshallable(ReadMarshallable object) |
default <E> E |
object(Class<E> clazz) |
default <E> E |
object(E using,
Class<E> clazz) |
long |
readLength()
the length of the field as bytes including any encoding and header character
|
WireIn |
sequence(java.util.function.Consumer<ValueIn> reader) |
default String |
text() |
<ACS extends Appendable & CharSequence> |
text(ACS s) |
WireIn |
text(java.util.function.Consumer<String> s) |
default Throwable |
throwable(boolean appendCurrentStack) |
WireIn |
time(java.util.function.Consumer<java.time.LocalTime> localTime) |
WireIn |
type(StringBuilder s) |
<K extends ReadMarshallable,V extends ReadMarshallable> |
typedMap(Map<K,V> usingMap) |
default ReadMarshallable |
typedMarshallable() |
int |
uint16() |
WireIn |
uint16(java.util.function.IntConsumer i) |
WireIn |
uint32(java.util.function.LongConsumer i) |
WireIn |
uint8(ShortConsumer i) |
WireIn |
uuid(java.util.function.Consumer<UUID> uuid) |
WireIn |
wireIn() |
WireIn |
zonedDateTime(java.util.function.Consumer<java.time.ZonedDateTime> zonedDateTime) |
@NotNull WireIn bool(@NotNull BooleanConsumer flag)
@NotNull WireIn text(@NotNull java.util.function.Consumer<String> s)
default String text()
@NotNull <ACS extends Appendable & CharSequence> WireIn text(@NotNull ACS s)
@NotNull WireIn int8(@NotNull ByteConsumer i)
@NotNull WireIn bytes(@NotNull net.openhft.chronicle.bytes.Bytes<?> toBytes)
@NotNull WireIn bytes(@NotNull java.util.function.Consumer<WireIn> wireInConsumer)
byte[] bytes()
@NotNull WireIn wireIn()
long readLength()
@NotNull WireIn uint8(@NotNull ShortConsumer i)
@NotNull WireIn int16(@NotNull ShortConsumer i)
@NotNull WireIn uint16(@NotNull java.util.function.IntConsumer i)
@NotNull WireIn int32(@NotNull java.util.function.IntConsumer i)
@NotNull WireIn uint32(@NotNull java.util.function.LongConsumer i)
@NotNull WireIn int64(@NotNull java.util.function.LongConsumer i)
@NotNull WireIn float32(@NotNull FloatConsumer v)
@NotNull WireIn float64(@NotNull java.util.function.DoubleConsumer v)
@NotNull WireIn time(@NotNull java.util.function.Consumer<java.time.LocalTime> localTime)
@NotNull WireIn zonedDateTime(@NotNull java.util.function.Consumer<java.time.ZonedDateTime> zonedDateTime)
@NotNull WireIn date(@NotNull java.util.function.Consumer<java.time.LocalDate> localDate)
boolean hasNext()
boolean hasNextSequenceItem()
WireIn uuid(@NotNull java.util.function.Consumer<UUID> uuid)
WireIn int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values, @NotNull java.util.function.Consumer<net.openhft.chronicle.core.values.LongArrayValues> setter)
WireIn int64(@Nullable net.openhft.chronicle.core.values.LongValue value, @NotNull java.util.function.Consumer<net.openhft.chronicle.core.values.LongValue> setter)
WireIn int32(@Nullable net.openhft.chronicle.core.values.IntValue value, @NotNull java.util.function.Consumer<net.openhft.chronicle.core.values.IntValue> setter)
WireIn sequence(@NotNull java.util.function.Consumer<ValueIn> reader)
<T> T applyToMarshallable(java.util.function.Function<WireIn,T> marshallableReader)
@NotNull default ReadMarshallable typedMarshallable()
@NotNull WireIn type(@NotNull StringBuilder s)
@NotNull WireIn marshallable(@NotNull ReadMarshallable object)
<K extends ReadMarshallable,V extends ReadMarshallable> void typedMap(@NotNull Map<K,V> usingMap)
<K,V> Map<K,V> map(@NotNull Class<K> kClazz, @NotNull Class<V> vClass, @NotNull Map<K,V> usingMap)
boolean bool()
byte int8()
short int16()
int uint16()
int int32()
long int64()
double float64()
float float32()
boolean isNull()
default Throwable throwable(boolean appendCurrentStack)
@Nullable
default <E> E object(@NotNull
Class<E> clazz)
default <E> E object(@Nullable
E using,
@NotNull
Class<E> clazz)
Copyright © 2015. All rights reserved.