Class Out<T>


  • public class Out<T>
    extends java.lang.Object
    Author:
    Loc Ha
    • Field Summary

      Fields 
      Modifier and Type Field Description
      T value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Out()  
      Out​(T value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T orElse​(T defaultValue)  
      java.lang.String toString()  
      T val()  
      • Methods inherited from class java.lang.Object

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

      • value

        public T value
    • Constructor Detail

      • Out

        public Out()
      • Out

        public Out​(T value)
    • Method Detail

      • val

        public T val()
              throws java.lang.IllegalStateException
        Throws:
        java.lang.IllegalStateException
      • orElse

        public T orElse​(T defaultValue)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object