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.Object
public Metadata getMetadata()
getMetadata
in interface Edge
public boolean isCompatible(Edge other)
isCompatible
in interface Edge
public boolean isSameColor(Edge other)
isSameColor
in interface Edge
public boolean isSameType(Metadata other)
public java.lang.String toString()
toString
in class java.lang.Object