obj2, obj3,
obj4) is more clear and is so readable like String.isNotBlank() that I use a
lot.
Rafael Santini
-Mensagem Original-
From: Matt Benson
Sent: Monday, July 08, 2013 2:16 PM
To: Commons Developers List
Subject: Re: ObjectUtils
I don't know exactly why this thread is
ll() returns true if all objects are not null.
Rafael Santini
-Mensagem Original-
From: Matt Benson
Sent: Monday, July 08, 2013 1:20 PM
To: Commons Developers List
Subject: Re: Lang: ObjectUtils
WRT #firstNonNull, I don't know why I couldn't find it before. I do now,
and I ag
e(obj1, obj2, obj3, obj4) {
// Do something...
}
So I would like something like the isNotNull(Object... objects) method in
Commons Lang instead of maintain this method in my own framework.
Thanks,
Rafael Santini
-Mensagem Original-
From: Ted Dunning
Sent: Thursday, July 04, 2013 4:34 PM
To:
) {
return isNull(object) == false;
}
public static boolean isNotNull(Object... objects) {
for (Object object : objects) {
if (isNull(object)) {
return false;
}
}
return true;
}
Can I submit a patch for this feature?
Thanks,
Rafael Santini