Interface Data.Packet<T>

Type Parameters:
T - type of wrapped data
All Superinterfaces:
Lookup.Provider
Enclosing class:
Data

public static interface Data.Packet<T> extends Lookup.Provider
A data holder used to wrap data of type T to be passed around a Pipe graph. Implementations of this interface are provided by the Data.Sink.
  • Method Details

    • data

      T data()
    • clear

      void clear()
    • apply

      void apply(Function<? super T,? extends T> operator)
    • accumulate

      void accumulate(List<Data.Packet<T>> packets)
    • isCompatible

      boolean isCompatible(Data.Packet<T> packet)
    • createPacket

      Data.Packet<T> createPacket()
    • dispose

      void dispose()