public class CNetBinding
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CNetBinding.Type |
Constructor and Description |
---|
CNetBinding(CNetBinding.Type type,
CNetNode node,
CNetNode... boundNodes)
Instantiates a binding using CNetNodes.
|
CNetBinding(CNetBinding.Type type,
CNetNode node,
java.util.Collection<? extends CNetNode> boundNodes)
Instantiates a binding using CNetNodes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Set<CNetNode> |
getBoundNodes()
returns the set of nodes bound by this binding
|
CNetNode |
getNode()
Returns the node to which this binding belongs
|
CNetBinding.Type |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
public CNetBinding(CNetBinding.Type type, CNetNode node, CNetNode... boundNodes)
net
- type
- node
- boundNodes
- public CNetBinding(CNetBinding.Type type, CNetNode node, java.util.Collection<? extends CNetNode> boundNodes)
net
- type
- node
- boundNodes
- public CNetNode getNode()
public java.util.Set<CNetNode> getBoundNodes()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CNetBinding.Type getType()
public java.lang.String toString()
toString
in class java.lang.Object