From f370e69dd154d7e802b23f8d0e9c0afcd96a21c7 Mon Sep 17 00:00:00 2001 From: Oshgnacknak Date: Fri, 3 Sep 2021 11:52:29 +0200 Subject: [PATCH] Remove argument cmp from max and secondMax --- src/aud/exam/prep/tree/OrderedTreeProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aud/exam/prep/tree/OrderedTreeProcessor.java b/src/aud/exam/prep/tree/OrderedTreeProcessor.java index 4424124..a22ae11 100644 --- a/src/aud/exam/prep/tree/OrderedTreeProcessor.java +++ b/src/aud/exam/prep/tree/OrderedTreeProcessor.java @@ -25,9 +25,9 @@ public interface OrderedTreeProcessor { boolean removeAll(T t, V v, Comparator cmp); - V max(T t, Comparator cmp); + V max(T t); - V secondMax(T t, Comparator cmp); + V secondMax(T t); int height(T t);