[Java 101] Episode 14: ArrayLists

preview_player
Показать описание
This episode will show you how to work with ArrayLists, the improved arrays.

Рекомендации по теме
Комментарии
Автор

A little fun fact: You can use diamond operators in Java 1.7 (7) to let the compiler infer to what to put in the constructor.

So this example:
HashMap<String, List<String>> foo = new HashMap<String, List<String>>();
List<String> bar = new ArrayList<String>();

Can turn into this simplified, lazy, version:
HashMap<String, List<String>> foo = new HashMap<>();
List<String> bar = new ArrayList<>();

We're all lazy at some point...

MineOCraftMC
Автор

Pogo, you could teach the next episode, how to make a cooldown with XP BAR?

eguipepixels
Автор

can yu code kitpvp plugins? i can pay like $50
tell me please

ReckiReck
Автор

Hey, you promised that you were going to give me a shoutout for the intro..

iForceGraphics