public class LambdaUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Message |
get(MessageSupplier supplier)
Returns the Message supplied by the specified function.
|
static Object |
get(Supplier<?> supplier)
Returns the result of evaluating the specified function.
|
static Object[] |
getAll(Supplier<?>... suppliers)
Converts an array of lambda expressions into an array of their evaluation results.
|
public static Object[] getAll(Supplier<?>... suppliers)
suppliers - an array of lambda expressions or nullnull if the suppliers
array was nullpublic static Object get(Supplier<?> supplier)
supplier - a lambda expression or nullnull if the supplier
was nullpublic static Message get(MessageSupplier supplier)
supplier - a lambda expression or nullnull if the supplier was
nullCopyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.