From dd61c070629ab9917b0b77b6c9fb7710466ee744 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Wed, 28 Feb 2018 10:21:30 +0800 Subject: [PATCH] auto commit --- notes/算法.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/算法.md b/notes/算法.md index 2561d22f..bc533afd 100644 --- a/notes/算法.md +++ b/notes/算法.md @@ -505,7 +505,7 @@ public class WeightedQuickUnionUF { ʹÓø¨Öúº¯Êý less() ºÍ exch() À´½øÐбȽϺͽ»»»µÄ²Ù×÷£¬Ê¹µÃ´úÂëµÄ¿É¶ÁÐԺͿÉÒÆÖ²ÐÔ¸üºÃ¡£ ```java -private static boolean less(Comparable v, Comparable w){ +private boolean less(Comparable v, Comparable w){ return v.compareTo(w) < 0; }