MCPcopy Create free account
hub / github.com/Syncleus/aparapi / cleanIslands

Method cleanIslands

src/test/java/com/aparapi/codegen/Diff.java:81–86  ·  view source on GitHub ↗
(List<Point>[][] flags, int x, int y)

Source from the content-addressed store, hash-verified

79 }
80
81 static void cleanIslands(List<Point>[][] flags, int x, int y) {
82 flags[x][y] = null;
83 if (x > 0 && y > 0 && flags[x - 1][y - 1] != null && flags[x - 1][y - 1].size() == 1) {
84 flags[x - 1][y - 1] = null;
85 }
86 }
87
88 public static class DiffResult{
89

Callers 1

diffMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected