Class Holder<T>


  • public final class Holder<T>
    extends Object
    • Constructor Detail

      • Holder

        public Holder()
        Creates a new holder with a null value.
      • Holder

        public Holder​(T value)
        Create a new holder with the specified value.
        Parameters:
        value - The value to be stored in the holder.
    • Method Detail

      • getValue

        public T getValue()
      • setValue

        public void setValue​(T value)