@ SafeVarargs public static < T > T firstNonNull ( Supplier < T > ... suppliers ) { return firstNonNull ( Supplier :: get , suppliers ) ; }
Gets first supplier s result which is not null . Suppliers are called sequentially . Once a non - null result is obtained the remaining suppliers are not called .