Загрузка страницы

Java Generics III - Wildcards

Wildcards - e.g. `? extends Number` - are needed when creating generic APIs that behave as you would expect and don't run into compile errors that make it effectively unusable. The mnemonic is "Producer Extends, Consumer Super" - PECS. Or SECS as we will see.

Table of contents:
0:00 Intro

1:17 The Generic Conundrum
5:08 Producer Extends
8:42 Consumer Super
10:50 Unknown Wildcards
11:43 When to Apply PECS

13:04 Outro

Nicolai
Website: https://nipafx.dev​
Twitter: https://twitter.com/nipafx​
Twitch: https://www.twitch.tv/nipafx​

Видео Java Generics III - Wildcards канала nipafx
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
19 апреля 2021 г. 19:00:05
00:13:30
Яндекс.Метрика