blob: 129bb1c06095bb5fc140b253c13b3386d4cca16f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import javax.swing.*;
/*
* @author
* Kian Agheli
*
* References:
*
* Date:
* 2024-05-08
*
* Purpose of class:
* Draw a line graph.
*/
public class LineGraph {
private int[][] coordinates; // A line graph has-a set of coordinates
/**
* Constructor.
*/
public LineGraph() {
coordinates = null;
}
/**
* Set a point at a pair of coordinates.
*/
void setCoordinates(int y, int x) {
}
}
|