public abstract class BindingBase extends Object implements Binding
BindingFactory
,
for mutable bindings.
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Var var)
Test whether a name is bound to some object
|
static boolean |
equals(Binding bind1,
Binding bind2) |
boolean |
equals(Object other) |
void |
format1(StringBuffer sbuff) |
Node |
get(Var var)
Return the object bound to a name, or null
|
Binding |
getParent() |
int |
hashCode() |
static int |
hashCode(Binding bind) |
boolean |
isEmpty()
Is this an empty binding? No variables.
|
int |
size()
Number of (var, value) pairs.
|
String |
toString() |
String |
toString1() |
Iterator<Var> |
vars()
Iterate over all the names of variables.
|
public Binding getParent()
public final int size()
Binding
public boolean isEmpty()
Binding
public boolean contains(Var var)
public void format1(StringBuffer sbuff)
public String toString1()
public static int hashCode(Binding bind)
Licenced under the Apache License, Version 2.0