We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff8c8ab + 6f936df commit eaed065Copy full SHA for eaed065
docs/book/10-Interfaces.md
@@ -857,7 +857,7 @@ package interfaces.filters;
857
858
public class Waveform {
859
private static long counter;
860
- private final long id = count++;
+ private final long id = counter++;
861
862
@Override
863
public String toString() {
@@ -1041,7 +1041,7 @@ class FilterAdapter implements Processor {
1041
}
1042
1043
1044
-punlic class FilterProcessor {
+public class FilterProcessor {
1045
public static void main(String[] args) {
1046
Waveform w = new Waveform();
1047
Applicator.apply(new FilterAdapter(new LowPass(1.0)), w);
0 commit comments