Package | Description |
---|---|
org.apache.tamaya.inject.api |
Common njection API.
|
Modifier and Type | Method and Description |
---|---|
T |
DynamicValue.orElseGet(ConfiguredItemSupplier<? extends T> other)
Return the value if present, otherwise invoke
other and return
the result of that invocation. |
T |
BaseDynamicValue.orElseGet(ConfiguredItemSupplier<? extends T> other)
Return the value if present, otherwise invoke
other and return
the result of that invocation. |
<X extends Throwable> |
DynamicValue.orElseThrow(ConfiguredItemSupplier<? extends X> exceptionSupplier)
Return the contained value, if present, otherwise throw an exception
to be created by the provided supplier.
|
<X extends Throwable> |
BaseDynamicValue.orElseThrow(ConfiguredItemSupplier<? extends X> exceptionSupplier)
Return the contained value, if present, otherwise throw an exception
to be created by the provided supplier.
|
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.