public class SimpleBinding extends Object implements Binding
Binding
interface.Constructor and Description |
---|
SimpleBinding(String name,
Value value)
Creates a binding object with the supplied name and value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares a binding object to another object.
|
String |
getName()
Gets the name of the binding (e.g.
|
Value |
getValue()
Gets the value of the binding.
|
int |
hashCode()
The hash code of a binding is defined as the bit-wise XOR of the hash codes of its name and value:
|
String |
toString() |
public String getName()
Binding
public Value getValue()
Binding
public boolean equals(Object o)
Binding
public int hashCode()
Binding
name.hashCode() ˆ value.hashCode().
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.