|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omnifaces.el.functions.Objects
public final class Objects
Collection of EL functions for objects.
Method Summary | |
---|---|
static java.lang.Object |
coalesce(java.lang.Object first,
java.lang.Object second)
Returns the first non- null object from the provided two objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Object coalesce(java.lang.Object first, java.lang.Object second)
null
object from the provided two objects. So, if the first object is not
null
, then it will be returned, otherwise the second object will be returned.
first
- The first object.second
- The second object.
null
object from the provided two objects.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |