Java Chapter 8 Collection ES 23

preview_player
Показать описание
4/11/2024
=======
Chapter - 8
Collections Framework
=====================
List
Set
Queue
DeQueue
Map
===
List
===
Set
===
HashSet
LinkedHashSet
TreeSet
=========
HashSet
=======
HashSet hashSet = new HashSet();
HashSet hashSet = new HashSet(collection obj);
HashSet hashSet = new HashSet(int capacity);
HashSet hashSet = new HashSet(int capacity, load factor);
Set set = new HashSet();

methods
======
1 boolean add(E obj);
2 boolean remove(E obj);
3 int size();
4 void clear();
5 boolean contains(E obj);
6 boolean isEmpty(E obj);
======================

LinkedHashSet
===========
TreeSet
======
Comparator vs Comparable
===================
Рекомендации по теме