public interface ValueIn
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Consumer<ValueIn> |
DISCARD |
| 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 |
bytesMatch(net.openhft.chronicle.bytes.BytesStore compareBytes,
BooleanConsumer consumer) |
default net.openhft.chronicle.bytes.BytesStore |
bytesStore() |
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) |
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) |
<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) |
<E> WireIn |
object(Class<E> clazz,
java.util.function.Consumer<E> e) |
<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) |
String |
text() |
WireIn |
text(java.util.function.Consumer<String> s) |
<ACS extends Appendable & CharSequence> |
textTo(ACS 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) |
<T extends ReadMarshallable> |
typedMarshallable() |
default Class |
typeLiteral() |
default WireIn |
typeLiteral(java.util.function.Consumer<Class> classConsumer) |
default WireIn |
typeLiteral(java.util.function.Function<CharSequence,Class> typeLookup,
java.util.function.Consumer<Class> classConsumer) |
WireIn |
typeLiteralAsText(java.util.function.Consumer<CharSequence> classNameConsumer) |
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) |
static final java.util.function.Consumer<ValueIn> DISCARD
@NotNull WireIn bool(@NotNull BooleanConsumer flag)
@NotNull WireIn text(@NotNull java.util.function.Consumer<String> s)
@Nullable String text()
@Nullable <ACS extends Appendable & CharSequence> ACS textTo(@NotNull ACS s)
@NotNull WireIn int8(@NotNull ByteConsumer i)
@NotNull WireIn bytes(@NotNull net.openhft.chronicle.bytes.Bytes<?> toBytes)
@NotNull WireIn bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore compareBytes, BooleanConsumer consumer)
@NotNull WireIn bytes(@NotNull java.util.function.Consumer<WireIn> wireInConsumer)
byte[] bytes()
default net.openhft.chronicle.bytes.BytesStore bytesStore()
@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()
@NotNull WireIn uuid(@NotNull java.util.function.Consumer<UUID> uuid)
@NotNull WireIn int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values, @NotNull java.util.function.Consumer<net.openhft.chronicle.core.values.LongArrayValues> setter)
@NotNull WireIn int64(@Nullable net.openhft.chronicle.core.values.LongValue value)
@NotNull WireIn int64(@Nullable net.openhft.chronicle.core.values.LongValue value, @NotNull java.util.function.Consumer<net.openhft.chronicle.core.values.LongValue> setter)
@NotNull WireIn int32(@Nullable net.openhft.chronicle.core.values.IntValue value, @NotNull java.util.function.Consumer<net.openhft.chronicle.core.values.IntValue> setter)
@NotNull WireIn sequence(@NotNull java.util.function.Consumer<ValueIn> reader)
<T> T applyToMarshallable(java.util.function.Function<WireIn,T> marshallableReader)
@Nullable <T extends ReadMarshallable> T typedMarshallable()
@NotNull WireIn type(@NotNull StringBuilder s)
@NotNull WireIn typeLiteralAsText(@NotNull java.util.function.Consumer<CharSequence> classNameConsumer)
@NotNull default WireIn typeLiteral(@NotNull java.util.function.Function<CharSequence,Class> typeLookup, @NotNull java.util.function.Consumer<Class> classConsumer)
@NotNull default WireIn typeLiteral(@NotNull java.util.function.Consumer<Class> classConsumer)
@NotNull WireIn marshallable(@NotNull ReadMarshallable object)
<K extends ReadMarshallable,V extends ReadMarshallable> void typedMap(@NotNull Map<K,V> usingMap)
@Nullable <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()
default Throwable throwable(boolean appendCurrentStack)
@Nullable
default <E> E object(@NotNull
Class<E> clazz)
@Nullable
<E> E object(@Nullable
E using,
@NotNull
Class<E> clazz)
@Nullable <E> WireIn object(@NotNull Class<E> clazz, java.util.function.Consumer<E> e)
default Class typeLiteral()
Copyright © 2015. All rights reserved.