JDK源碼--Collection

public interface Collection<E> extends Iterable<E> { // Query Operations 原註釋,不明意義 //定義size方法,應返回size大小,最大值爲Integer.MAX_VALUE int size(); //定義isEmpty方法,用於返回是否爲空 boolean isEmpty(); //定義contain
相關文章
相關標籤/搜索