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 Detail

      • data

        T data()
      • clear

        void clear()
      • apply

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

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

        void dispose()