Class AbstractByteInput<T>

    • Field Detail

      • source

        protected T source
        The underlying byte source.
    • Constructor Detail

      • AbstractByteInput

        public AbstractByteInput​(T source)
        Creates a new instance built on top of specified byte source.
        Parameters:
        source - the underlying byte source or null if it is intended to be lazily initialized and set.
    • Method Detail

      • toString

        public String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.
      • getSource

        public T getSource()
        Returns the current value of source.
        Returns:
        the current value of source.
      • setSource

        public void setSource​(T source)
        Replaces the current value of source with given.
        Parameters:
        source - new value for source.