summaryrefslogtreecommitdiffstats
path: root/Algorithms/Part-I/3-Collinear/Fast.java
diff options
context:
space:
mode:
Diffstat (limited to 'Algorithms/Part-I/3-Collinear/Fast.java')
-rw-r--r--Algorithms/Part-I/3-Collinear/Fast.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Algorithms/Part-I/3-Collinear/Fast.java b/Algorithms/Part-I/3-Collinear/Fast.java
index 6d9dcac..07130a6 100644
--- a/Algorithms/Part-I/3-Collinear/Fast.java
+++ b/Algorithms/Part-I/3-Collinear/Fast.java
@@ -7,7 +7,7 @@ import java.util.Arrays;
public class Fast
{
- static class Segment
+ private static class Segment
{
private Point[] pts;
@@ -61,7 +61,7 @@ public class Fast
}
}
- static List<Segment> solve(Point[] pts, int N)
+ private static List<Segment> solve(Point[] pts, int N)
{
List<Segment> segments = new ArrayList<Segment>();
for (int i = 0; i < N - 1; i++)