returns the first of two given parameters that is not null , if either is , or otherwise throws a nullpointerexception . note : if first is represented as an optional , this can be accomplished with @linkplain optional #or object first.or second . that approach also allows for lazy evaluation of the fallback instance , using @linkplain optional #or supplier first.or supplier . concode_field_sep ValueHolder next concode_elem_sep ValueHolder holderTail concode_elem_sep String name concode_elem_sep String className concode_elem_sep boolean omitNullValues concode_elem_sep ValueHolder holderHead concode_elem_sep Object value concode_field_sep boolean equal concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper omitNullValues concode_elem_sep ValueHolder addHolder concode_elem_sep ToStringHelper addHolder concode_elem_sep ToStringHelper addHolder concode_elem_sep int hashCode concode_elem_sep ToStringHelper toStringHelper concode_elem_sep ToStringHelper toStringHelper concode_elem_sep ToStringHelper toStringHelper concode_elem_sep String toString concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue
T function ( @ Nullable T arg0 , @ Nullable T arg1 ) { return MoreObjects . firstNonNull ( arg0 , arg1 ) ; }