????Java?????????????????????????????????????????????????????????????Ч??????????????????????????????????
????1?????????????????
????2?????????????????????????????????????????????????
????3????????????????????????
????Java API?????????????????????Collection?????????????????Collection???????н????£?
????Collection<--List<--Vector
????Collection<--List<--ArrayList
????Collection<--List<--LinkedList
????Collection<--Set<--HashSet
????Collection<--Set<--HashSet<--LinkedHashSet
????Collection<--Set<--SortedSet<--TreeSet
????Collection???????????
????1 ???
????boolean remove??Object object??
????boolean removeAll??Collection coll??
????void clear??????
????2???
????boolean add??Object object??
????boolean addAll??Collection coll??
????3???ж??
????boolean contains??Object object??
????boolean containsAll??Collection coll??
????boolean isEmpty??????//?ж??????????????
????4 ???
????int size??????
????iterator?????????????????????????
????5??????
????boolean retainAll??Collection coll ???????
????Object[]toArray???? ????????????顣
????Vector : ????Array??List???????????Array??????????Щ??????????????????????????Array????????????????????Array?????????????????£????????????Array?????????????????Vector??????????????Vector??ArrayList???????
????ArrayList???Vector????????????Array??????????????????ArrayList?????????????????????????Vector????Щ??????????е??????????????????????????????????????
????LinkedList??LinkedList????????????List???????????Array??????????Array???????????????????Node????????????????????1.???????????data????2.??????????????nextNode???????????LinkedList?????????????????????????Array??List???????????д????????????????????nextNode??????????????????????LinkedList???????
????List???
????1. ???е?List???????????????????????????????????Key??Value?????????磺[ tom??1??c ]??
????2. ???е?List?п??????????????????Vector?п????? [ tom??koo??too??koo ]??
????3. ???е?List?п?????null????????[ tom??null??1 ]??
????4. ????Array??List??Vector??ArrayList???????????LinkedList???????????????????????
????5??List ???е???????????????????????????????????