T
- the type of valuepublic class Context.BindingBuilder<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Context |
to(T value)
Associates the given value with a key in this context.
|
Context |
toSupplier(java.util.function.Supplier<? extends T> supplier)
Associates the given supplier with a key in this context.
|
Copyright (c) 2014, 2019 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0