tailieunhanh - Introduction to java programming: Chapter 22 - Java Collections Framework

Introduction to java programming: Chapter 22 - Java Collections Framework's Objectives is to describe the Java Collections Framework hierarchy; use the Iterator interface to traverse a collection; discover the Set interface, and know how and when to use HashSet, LinkedHashSet, or TreeSet to store elements. | Chapter 22 Java Collections Framework ---------Chapter 11 Object-Oriented Design Chapter 20 Lists Stacks Queues Trees and Heaps Chapter 21 Generics ___________________________ Chapter 22 Java Collections Framework__________ --------- Chapter 19 Recursion_____________ Chapter 23 Algorithm Efficiency and Sorting____ Liang Introduction to Java Programming Fifth Edition c 2005 Pearson Education Inc. All rights reserved. 0-13-148952-6 Objectives To describe the Java Collections Framework hierarchy . To use the Iterator interface to traverse a collection . To discover the Set interface and know how and when to use HashSet LinkedHashSet or TreeSet to store elements . To compare elements using the Comparator interface . To explore the List interface and know how and when to use ArrayList or LinkedList to store elements . To distinguish Vector and ArrayList and know how to use Vector and Stack . To simplify programming using JDK generic types . To understand the differences between Collection and Map and know how and when to use HashMap and LinkedHashMap to store values associated with keys . To use the static methods in the Collections class . To use the static methods in the Arrays classes . Liang Introduction to Java Programming Fifth Edition c 2005 Pearson Education Inc. All 2 rights reserved. 0-13-148952-6 2 Java Collection Framework hierarchy A collection is a container object that represents a group of objects often referred to as elements. The Java Collections Framework supports three types of collections named sets lists and maps. Liang Introduction to Java Programming Fifth Edition c 2005 Pearson Education Inc. All rights reserved. 0-13-148952-6

TÀI LIỆU MỚI ĐĂNG
19    219    0    29-03-2024
34    198    1    29-03-2024
14    159    0    29-03-2024
75    130    0    29-03-2024
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.