Skip to content
Snippets Groups Projects
Commit d11747d4 authored by Kevin Lin's avatar Kevin Lin
Browse files

image-processing: Divide adapter example into multiple classes

parent 927f4ca1
No related branches found
No related tags found
No related merge requests found
Pipeline #396516 passed with stages
in 45 seconds
......@@ -109,19 +109,25 @@ public class ExampleGraph implements Graph<Node> {
return node.neighbors();
}
}
```
```java
public class Source implements Node {
public List<Node> neighbors() {
...
}
}
```
```java
public class Sink implements Node {
public List<Node> neighbors() {
...
}
}
```
```java
public class Pixel implements Node {
public List<Node> neighbors() {
...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment