Interface ValueBinding<T>
- Type Parameters:
T- the value produced by theBinding
- All Superinterfaces:
Binding<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ValueBinding<T> of(Dependency dependency, T value) Creates aValueBindingfor the specifiedDependencyand value.value()Obtains the non-nullvalue.Methods inherited from interface Binding
dependency
-
Method Details
-
value
-
of
Creates aValueBindingfor the specifiedDependencyand value.- Type Parameters:
T- the type of value- Parameters:
dependency- theDependencyvalue- the value- Returns:
- a new
ValueBinding
-