public final 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 null
null
if the suppliers
array was null
public static Object get(Supplier<?> supplier)
supplier
- a lambda expression or null
null
if the supplier
was null
public static Message get(MessageSupplier supplier)
supplier
- a lambda expression or null
null
if the supplier was
null
Copyright © 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.