Package | Description |
---|---|
brown.tracingplane.baggageprotocol |
Defines an encoding scheme for nested data structures using atoms.
|
brown.tracingplane.bdl |
Library classes used by BDL-generated objects, including the
BDLContext implementation of
BaggageContext . |
Modifier and Type | Class and Description |
---|---|
class |
BaggageReader
Iterates over a list of atoms, interpreting them according to the baggage protocol; readers interpret data atoms and construct corresponding object representations.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
ReaderHelpers.castNext(ElementReader reader,
java.util.function.Function<java.nio.ByteBuffer,T> cast)
Get the next data item and transform bytebuffer to type using the provided function.
|
static <In,Out extends java.util.Collection<In>> |
ReaderHelpers.collect(ElementReader reader,
java.util.function.Function<java.nio.ByteBuffer,In> cast,
java.util.function.Supplier<Out> defaultValueGenerator) |
static <In,Out> Out |
ReaderHelpers.combine(ElementReader reader,
java.util.function.Function<java.nio.ByteBuffer,In> cast,
java.util.function.Supplier<Out> defaultValueGenerator,
java.util.function.BiFunction<Out,In,Out> combiner) |
static java.nio.ByteBuffer |
ReaderHelpers.filterNext(ElementReader reader,
java.util.function.Predicate<java.nio.ByteBuffer> filter)
Find the next data item that matches the provided predicate
|
default S |
Struct.StructHandler.parse(ElementReader reader) |
T |
Parser.ElementParser.parse(ElementReader reader) |