Package org.eclipse.handly.context
Class Context.BindingBuilder<T>
- java.lang.Object
-
- org.eclipse.handly.context.Context.BindingBuilder<T>
-
- Type Parameters:
T
- the type of value
- Enclosing class:
- Context
public class Context.BindingBuilder<T> extends java.lang.Object
Associates a value with a key in this context.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-