public class Edge extends Object
Modifier and Type | Field and Description |
---|---|
static String |
B |
static String |
MINUS |
static String |
NIL |
static String |
PLUS |
Constructor and Description |
---|
Edge() |
Edge(int p1,
int p2,
boolean joined,
String label,
boolean plotted) |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
int |
getP1() |
int |
getP2() |
boolean |
getPlotted() |
boolean |
isJoined() |
void |
setJoined(boolean joined) |
void |
setLabel(String label) |
void |
setP1(int p1) |
void |
setP2(int p2) |
void |
setPlotted(boolean plotted) |
String |
toString() |
public static final String NIL
public static final String B
public static final String PLUS
public static final String MINUS
public Edge()
public Edge(int p1, int p2, boolean joined, String label, boolean plotted)
public int getP1()
public void setP1(int p1)
public int getP2()
public void setP2(int p2)
public boolean isJoined()
public void setJoined(boolean joined)
public String getLabel()
public void setLabel(String label)
public boolean getPlotted()
public void setPlotted(boolean plotted)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.