guava icon indicating copy to clipboard operation
guava copied to clipboard

Visibility of class SortedLists is package private and does not allow access to methods

Open kagian opened this issue 2 years ago • 1 comments

I've found the binarySearch functionality in the com.google.common.collect.SortedLists to be quite useful. However the package private access precludes it from being used. I've ended up copying the code to another class that I've written to make use of it.

Am I missing something in terms of being able to use the methods in this class? Or would it be considered to make this class and the enums like KeyPresentBehavior and KeyAbsentBehavior public as well.

kagian avatar May 20 '22 03:05 kagian

@cpovirk What do you think about this? Do we need to make it public?

ritikBhandari avatar Jun 01 '22 17:06 ritikBhandari