not sure why Deque gets no love in the jdk stdlib,...
# announcements
j
not sure why Deque gets no love in the jdk stdlib, but that'd sure look nicer with
arrayDequeOf(this)
👍 1
g
This, I find myself using it constantly --though I typically go with
LinkedList
. honestly the ubiquitization of HashMap and ArrayList is one of the sadder things about the JVM imho.
j
I can't think of a single reason to use LinkedList
unless you're exercising a garbage collector