for what you want, you can simply use getFirstNonNull(final Supplier<T>... suppliers) and then defaultIfNull(final T object, final T defaultValue)
Yeldos Tanikin <ytani...@gmail.com> 于2020年6月15日周一 下午6:20写道: > Hi, > I have a suggestion to a little bit improve ObjectUtils.getIfNull, can we > allow to pass Supplier varargs instead of Supplier, sometimes it is > very helpful, as well it will not break compatibility with the current > version. > > As far as I understand I should write to you before creating a task, if I'm > wrong, tell me, please > > -- > Yeldos Tanikin >