public final class Binding
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get the id number of this binding.
|
int |
getIndex()
get the starting index in the original source.
|
java.lang.String |
getName()
get the name of this binding.
|
int |
hashCode() |
static Binding |
newBinding(int from,
java.lang.String name)
Create a new Binding object with a unique id.
|
java.lang.String |
toString() |
public int getIndex()
public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
public java.lang.String getName()
public static Binding newBinding(int from, java.lang.String name)
from
- the index in the original source.name
- the name of this Binding object.public int hashCode()
hashCode
in class java.lang.Object