Which classes implement the abstract type of queue data?

Asked

Viewed 225 times

3

Considering that there are classes java.util.Stack and java.util.ArrayDeque in the context of stacks, there are also Java classes that implement the abstract type of data queue?

1 answer

4


java.util.Queue is an interface that defines the data structure Fila and one of the classes that implement Queue is the LinkedList. Thus, the LinkedList is a Queue implementation.

  • And what is the growing politics of a LinkedList?

  • http://ashkrit.blogspot.com.br/2015/09/collection-resize-and-merge-policy.html https://help.anylogic.com/index.jsp?topic=/com.xj.anylogic.help/html/data/Collection%20Variables.html

Browser other questions tagged

You are not signed in. Login or sign up in order to post.