Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Why doesn't ArrayDeque implement the List interface?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Daniel Pitts, post: 3810521"] I'm thinking you might actually have to create your own low-level implementation, in order to get the functionality you desire. That is unfortunate, but sometimes is the case. It seems to me that you could pretty easily create a ring-buffer that had a List style get/set, which was reasonably defined to consider the get/set index as an offset from the buffer. An implementation wouldn't be terribly difficult. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Why doesn't ArrayDeque implement the List interface?
Top