随笔分类 - JAVA源码解析
摘要:/* * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
阅读全文
摘要:从Comparator接口的源码,可以看到Comparator接口中的方法有三类: 1 普通接口方法 2 default方法 3 static方法 其中default方法和static方法 是java8新加的特性,default方法提供了方法实现,不强制接口实现类实现。static相较于defaul
阅读全文
浙公网安备 33010602011771号