Graph. It is recommended to extend this
class rather than implement Graph directly.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Implements com. true iff object is a Graph that has the same elements and the
same structural relationships as those in this graph.
|
| public final int | hashCode()
Overrides java. Implements com. |
| public String |
| AbstractGraph | back to summary |
|---|---|
| public AbstractGraph() | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object obj) Overrides java. Implements com. Doc from com. Returns Thus, two graphs A and B are equal if all of the following are true:
Graph properties besides A reference implementation of this is provided by
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. Implements com. Doc from com. Returns the hash code for this graph. The hash code of a graph is defined as the hash code of
the set returned by A reference implementation of this is provided by
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this graph.
| |