| Constructor | Description |
|---|---|
EdgeImpl(byte id,
char color) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(Edge other) |
|
Edge |
copy() |
|
static Edge |
createEdge(byte id,
char color) |
|
boolean |
equals(java.lang.Object obj) |
|
char |
getColor() |
|
byte |
getId() |
|
Metadata |
getMetadata() |
|
char |
getType() |
|
boolean |
isCompatible(Edge other) |
|
boolean |
isSameColor(Edge other) |
|
boolean |
isSameId(Edge other) |
|
boolean |
isSameType(Metadata other) |
|
void |
setColor(char color) |
|
void |
setType(char type) |
|
java.lang.String |
toString() |
public static Edge createEdge(byte id, char color)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Metadata getMetadata()
getMetadata in interface Edgepublic boolean isCompatible(Edge other)
isCompatible in interface Edgepublic boolean isSameColor(Edge other)
isSameColor in interface Edgepublic boolean isSameType(Metadata other)
public java.lang.String toString()
toString in class java.lang.Object