A
- public class BasicConnectionTable<A> extends java.lang.Object implements ConnectionTable<A>
Constructor and Description |
---|
BasicConnectionTable() |
Modifier and Type | Method and Description |
---|---|
void |
addConnection(A first,
A second,
int order) |
void |
addConnection(A first,
A second,
int order,
int sign) |
java.lang.Integer |
getAtomCount() |
java.util.Collection<A> |
getConnected(A atom) |
java.lang.Integer |
getDepth(A first,
A second) |
int |
getOrder(A first,
A second) |
public void addConnection(A first, A second, int order)
first
- second
- order
- public void addConnection(A first, A second, int order, int sign)
first
- second
- order
- sign
- public java.util.Collection<A> getConnected(A atom)
getConnected
in interface ConnectionTable<A>
atom
- public int getOrder(A first, A second)
getOrder
in interface ConnectionTable<A>
first
- second
- public java.lang.Integer getDepth(A first, A second)
getDepth
in interface ConnectionTable<A>
first
- second
- public java.lang.Integer getAtomCount()
getAtomCount
in interface ConnectionTable<A>