Class SingleItemResult<T>

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getItem()  
      boolean isPresent()  
      • Methods inherited from class java.lang.Object

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

      • SingleItemResult

        public SingleItemResult​(T item)
    • Method Detail

      • getItem

        public T getItem()
      • isPresent

        public boolean isPresent()