Тёмный

Collections Corner Cases by Stuart Marks 

Devoxx
Подписаться 157 тыс.
Просмотров 9 тыс.
50% 1

So you think you know the Collections Framework? Sure, you can add elements to an ArrayList and put entries into a HashMap. There's a lot more to collections than that, though. The Collections Framework has a rich set of APIs with surprising depth.
This session isn't a typical survey of the Collections interfaces and implementation classes. Instead, it's a deep exploration of some of the corners of the Collections Framework that will reveal some little-known features. These features can be useful and powerful, but their behavior can also be startling, leading to unexpected bugs for the unwary.
Attend this session for a unique and educational look at the Collections Framework.
Stuart Marks is a Consulting Member of Technical Staff in the Java Platform Group at Oracle. He is currently working on a variety of JDK core libraries projects, including Collections, Lambda, and Streams, as well as improving test quality and performance. As his alter ego "Dr Deprecator" he also works on the Java SE deprecation mechanism.
He has previously worked on JavaFX and Java ME at Sun Microsystems. He
has over twenty years of software platform product development
experience in the areas of window systems, interactive graphics, and
mobile and embedded systems. Stuart holds a Master's degree in
Computer Science and a Bachelor's degree in Electrical Engineering
from Stanford University.

Наука

Опубликовано:

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@SwarangaSarma
@SwarangaSarma 4 года назад
Always loved Stuart Marks’ talks. Goes a little slower but very clear and I always take away multiple good learnings from the talks.
@user-dz6il2bx5p70
@user-dz6il2bx5p70 4 года назад
Another super interesting talk from Oracles team, thanks again Devoxx.
@edwinmcc
@edwinmcc 2 года назад
This is an eye opener for me . . Thank you Stuart . . . Best way to spend time. . .
@ShramikTangadkar
@ShramikTangadkar 4 года назад
Learn lot many things. Hats off 💯
@tohopes
@tohopes 4 года назад
The inconsistency in the Java language with respect to comparison vs equality (and hashing) is that, for a given object type, a programmer can use a different comparison scheme in each use case (by providing a different instance of Comparator) but there is no similar way to "plug" or substitute different schemes of equality (and hashing) in different use cases. Equality and hashing (as used by HashSet, etc) should be methods of a standalone interface to be implemented by a separate object, different instances of which, determining equality and hashing in different ways, could be used in different use cases (eg provided as constructor arguments to construct HashSets in different use cases).
@antongromov8093
@antongromov8093 4 года назад
Can someone tell me how the font's called? I mean, I want to set the same font to my pseudoterminal :D
@tohopes
@tohopes 4 года назад
map.values().retainAll(...) interesting.
@ivanpolovyi4427
@ivanpolovyi4427 2 года назад
Cool
@nO_d3N1AL
@nO_d3N1AL 4 года назад
A feminist would point out the wage gap at 48:00. Useful talk though, with the main takeaway being that SortedSet.equals(HashSet) != HashSet.equals(SortedSet)
@DaleHEmery
@DaleHEmery 4 года назад
We don’t know the sex of any employee.
@jonaskoelker
@jonaskoelker 2 года назад
We also don't know whether the employees are doing the same work or different work. Different pay for different work is not inconsistent with equal pay for equal work.
Далее
Thinking In Parallel by Stuart Marks and Brian Goetz
1:00:04
Collections Refueled by Stuart Marks
51:42
Просмотров 15 тыс.
Угадай МОБА 1 🥵 | WICSUR #shorts
01:00
Просмотров 1,3 млн
Memory footprint of a Java process by Andrei Pangin
51:40
TypeScript Origins: The Documentary
1:21:36
Просмотров 279 тыс.
ЗАБЫТЫЙ IPHONE 😳
0:31
Просмотров 19 тыс.
iPhone, Galaxy или Pixel? 😎
0:16
Просмотров 1,3 млн
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 6 млн