Y
Hacker News
new
|
ask
|
show
|
jobs
by
jffry
1347 days ago
Yes, Java has java.util.Deque [1]. The purpose of this JEP is to add a more generic interface over the ordered collection types, which all have slightly different names for these operations.
[1]
https://docs.oracle.com/en/java/javase/17/docs/api/java.base...