Java中的STL-Map

Java中的STL01-Map 要點 Set的實現是基於Map的,HashSet是基於HashMap的,TreeSet是基於TreeMap的。 Map的繼承關係如下圖所示 Map接口 public interface Map<K,V> { } Map接口中的API abstract void clear() abstract boolean
相關文章
相關標籤/搜索