public class ListBindingSet extends AbstractBindingSet
BindingSet
interface.Constructor and Description |
---|
ListBindingSet(List<String> bindingNames,
List<? extends Value> values)
Creates a new List-based BindingSet containing the supplied bindings.
|
ListBindingSet(List<String> names,
Value... values)
Creates a new List-based BindingSet containing the supplied bindings.
|
Modifier and Type | Method and Description |
---|---|
Binding |
getBinding(String bindingName)
Gets the binding with the specified name from this BindingSet.
|
Set<String> |
getBindingNames()
Gets the names of the bindings in this BindingSet.
|
Value |
getValue(String bindingName)
Gets the value of the binding with the specified name from this BindingSet.
|
boolean |
hasBinding(String bindingName)
Checks whether this BindingSet has a binding with the specified name.
|
Iterator<Binding> |
iterator()
Creates an iterator over the bindings in this BindingSet.
|
int |
size()
Returns the number of bindings in this BindingSet.
|
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ListBindingSet(List<String> names, Value... values)
names
- The binding names.values
- The binding values.public ListBindingSet(List<String> bindingNames, List<? extends Value> values)
bindingNames
- The binding names.values
- The binding values.public Set<String> getBindingNames()
BindingSet
public Value getValue(String bindingName)
BindingSet
bindingName
- The name of the binding.public Binding getBinding(String bindingName)
BindingSet
bindingName
- The name of the binding.public boolean hasBinding(String bindingName)
BindingSet
bindingName
- The name of the binding.public Iterator<Binding> iterator()
BindingSet
public int size()
BindingSet
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.