What is the fastest way to get a podkap card

I have a card, I am wondering if there is a way to get a podcast according to some condition. Any useful library?

+6
source share
2 answers

The Guava Maps class contains three different filtering methods, depending on whether you want to filter the key, value, or both.

+5
source

Perhaps NavigableMap will do what you want, depending on what the condition is. This is very fast O(log n) , while most filters are O(n) . This can cause the key sub-card to be smaller than or between two keys.

+3
source

Source: https://habr.com/ru/post/903735/


All Articles