Class Item<T>


  • class Item<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T item  
    • Constructor Summary

      Constructors 
      Constructor Description
      Item()  
      Item​(T item)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      T getOrDefault​(T defVal)  
      void set​(T item)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • item

        private T item
    • Constructor Detail

      • Item

        public Item()
      • Item

        public Item​(T item)
    • Method Detail

      • get

        public T get()
      • getOrDefault

        public T getOrDefault​(T defVal)
      • set

        public void set​(T item)