Expose TokenRange.contains(Token)

Description

Now that users can create their own Token and TokenRange objects, the need to check if a TokenRange contains a Token exists. This cannot be implemented in client code trivially, as users do not have access to the minToken value for each partitioner. If the existing private method in TokenRange.java could be made public, that would provide needed and reasonable functionality.

Environment

None

Pull Requests

None
Fixed

Assignee

Olivier Michallat

Reporter

Philip Thompson

Labels

None

PM Priority

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Components

Priority

Major
Configure