diff --git a/README.md b/README.md index 0883fb752..4d6f181da 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ augmented) # Example
 /** Red-black tree augmented by the sum of the values in the subtree. */
-public class SumNode extends RedBlackNode {
+public class SumNode extends RedBlackNode<SumNode> {
     public int value;
     public int sum;