An open API service indexing awesome lists of open source software.

https://github.com/annimon-tutorials/java-generics-tutorial

Source code for tutorial
https://github.com/annimon-tutorials/java-generics-tutorial

generics java tutorial

Last synced: about 1 year ago
JSON representation

Source code for tutorial

Awesome Lists containing this project

README

          

# Java Generics Tutotial

### step 1

Problems with raw types.

### step 2

Using generic types.

### step 3

Garage and Vehicles. Raw types.

### step 4

First try to generify Garage. Jupiter in my garage.

### step 5

Generics upper bound.

### step 6

`TripleGarage`

### step 7

Trying to use generics array.

### step 8

Generics in lists. Wildcards. PECS.

### step 9

Unknown type wildcard `>`.