What is a Sequenced Collection ? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 130: What is a Sequenced Collection ?
Рекомендации по теме
Комментарии
Автор

Oh yeah... I have to implement support for that.

I wonder why are sequenced collections inserted inbetween sorted collections?

Because in sorted collections you cant actually control the order.
It really only makes sense to have a different branch in the collections framework...

(Since half of the functions result in an unsupported operation exception)

And when i did that i was asked by a ton of java devs to not do that dumb idea xD their words not mine.

Speiger
Автор

Greate video, Can you do a topic about the Stream interface and how to implement it in a basic Data structure of our own for example a linked list?

jamhourg
Автор

Is it more efficient to use sequence, does it work like in Kotlin does?

mmo
Автор

I have a question: does Math.pow(Math.E, x) and Math.exp(x) have the same performance?

sergios
Автор

What is the gap between list and Sorted Set? And what significant of it that we have to have a whole new concept to address it?

ahmedjaad
Автор

Are there class implementations of these interfaces in Java 21, or are there default method implementations in the interface(s)?

MarkJaeger
Автор

Is it a type of Deque with Doubly Linked List?

vivekravi