Class Optionals


  • public class Optionals
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.Optional<T> first​(java.util.Optional<T> o1, java.util.Optional<T> o2, java.util.Optional<T>... os)  
      • Methods inherited from class java.lang.Object

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

      • first

        @SafeVarargs
        public static final <T> java.util.Optional<T> first​(java.util.Optional<T> o1,
                                                            java.util.Optional<T> o2,
                                                            java.util.Optional<T>... os)