#ArrayList
Se você é javeiro e não usa jshell, meu amigo... sinto muito, mas vc tá perdendo um REPL fantástico!
October 9, 2024 at 2:40 AM
ArrayList <String> redflagsHombres = new ArrayList<String>();
December 9, 2024 at 3:50 PM
Começo da primeira sessão do artigo sobre reflexão no java (tem um prólogo antes de 10kbytes btw)
October 11, 2024 at 1:20 AM
「これがString」 つ String s = ...; s.length()
「これがarray」 つ int[] a = {...}; a.length
「これがArrayList」 つ ArrayList al = ...; al.size()

娘氏「全部同じ(なのに違う)じゃないですかー」
ワイ「ちがいますよー」「これだからしろうとはダメだ!もっとよく見ろ!」

※別に簡単ではなかった
明日はジャバーのArrayList。短いし簡単そう。
March 3, 2024 at 11:42 PM
Learned a new thing about array addition at MMS this week from Nathan Ziehnert :)

I've always known using += was bad, so I've been using ArrayList instead...

Apparently generic lists are significantly faster and aren't under threat of deprecation, lol

learn.microsoft.com/...
May 10, 2025 at 4:10 AM
Essa semana refatorei um código que escrevi há onze anos (!) por conta de problemas de desempenho e um pequeno ajuste que teve um ganho absurdo foi trocar um certo atributo de ArrayList<T> para HashSet<T> (ideal pro caso em questão).

A experiência é algo que cê não compra mesmo não
September 24, 2026 at 10:31 PM
i don't hate dynarray or arraylist tbh
December 16, 2025 at 5:01 PM
Numa discussão no linkedin tinha uns bonitos que estavam argumentando algumas questões sobre Java:

- o uso de streams implica 10x penalidade
- usar linkedlist para appendar é melhor do que arraylist

Usei JMH para tentar simular e não encontrei nada disso...
August 21, 2025 at 5:28 PM
Unless they're called stuff like:

ArrayList al1();

I've seen code like this, and it's a nightmare to maintain.
December 22, 2024 at 11:16 PM
Mddc, um meninozinho formado em ciência da computação falou para eu estudar complexidade de algoritmos quando eu pedi pra ele apresentar benchmarking quando ele falou que o uso de streams e collector.toList é mais lento do que usar um for e inserir num ArrayList 😂
November 23, 2025 at 4:35 PM
September 25, 2026 at 4:46 PM
The Norwegian IT industry news site @kode24.no has an interesting article about The Norwegian Easter Lotto glitch. The glitch happened because the vendor used a Linked List instead of an ArrayList to write 283 million rows to file.

This is a thread about data structures. 🧵 1/8
Vi kan i dag fortelle historien om hva som gikk galt med Lotto-trekninga:

– Lenkede lister kan lagre enorme mengder informasjon, men tilgangen er treg. 😅
Derfor feila Lotto-trekninga: Brukte feil metode
Norsk Tipping måtte kalle folk tilbake fra påskeferien, etter surr med Linked List og Array List.
www.kode24.no
June 25, 2025 at 9:59 PM
Vale, tengo un ejercicio que es" crear un programa que solicite al usuario cuántos nombres quiere introducir. Después pedirle los nombres, meterlos en un arraylist. Finalmente mostrar solo nombres que empiecen por A.

No sé seguir, y eso tampoco está bien...
March 10, 2025 at 2:08 PM
ACHEI ESSA PORRA!

Finalmente encontrei o código pra completar a primeira tarefa do Nathan. A primeira print é os condicionais do spawn de inimigos nos primeiros andares da dungeon. A segunda é a dungeon gerando esses spawns a partir do primeiro código. Complexo, mas consegui!

#gamedev
February 12, 2026 at 3:55 PM
One often-overlooked advantage of Java that helped its popularity in the early aughts is the way it trended the other direction, where the abstract operations were unexpectedly optimized.

You could use the exact right collection, but typically ArrayList was just as performant.
June 18, 2025 at 3:39 AM
My latest blog: One Positive Effect of Java 25 with Compact Object Headers Enabled

donraab.medium.com/one-positive...
One Positive Effect of Java 25 with Compact Object Headers Enabled
Measuring the memory cost of ArrayList and Eclipse Collections FastList
donraab.medium.com
December 5, 2025 at 4:50 AM
public static ArrayList<Bitches> getAll( )
October 8, 2024 at 5:57 PM
Since Java 8 the java world too allows this cheating.
One can choose any map implementation they want:

Map<K, List<V>> m = ...;

m.computeIfAbsent(key, ArrayList::new).add(value);
You can easily create a multi-dict in Python.

You can use `collections.defaultdict` and the built-in `list`.

This creates a dictionary that maps every single key to an empty list by default.

Then, appending to a key means adding a value to that key.

But this is “cheating”.

Why is it cheating..?
April 20, 2025 at 11:22 AM
明日はジャバーのArrayList。短いし簡単そう。
March 3, 2024 at 7:13 AM
I'd seen this talked about before but thought they were going to just change the "default" i.e. ArrayList becomes ArrayListManaged, and ArrayListUnmanaged becomes ArrayList, didn't realize managed would be cut
November 30, 2024 at 8:34 AM
Tudo varia da forma como você usa a lista. Se for usar como Fila ou Pilha, LinkedList. Se for alocar e usar como referência, iterar, ArrayList.
August 21, 2025 at 7:07 PM
While you're on magic type inference, did you know you can also write

var list = new ArrayList<>();

What do you think is the type? (Hint: It's not what you think, no matter what you think...)
November 15, 2024 at 3:15 PM
Нове відео вже на каналі чекаю вас. www.youtube.com/watch?v=AJ-u... #java #lesson #data
ArrayList, Map, Set, LinkedList у Java — просто на прикладах!
YouTube video by DevLogDays
www.youtube.com
July 25, 2025 at 7:17 PM
🧵2/2 If, for instance, we define a static list somewhere:

private static final List byteList = new ArrayList<>();

Some parts of the code may keep adding elements without removing them, eventually leading to memory exhaustion.

#Java #MemoryManagement
June 8, 2025 at 1:33 PM