I have stumbled upon Hashing
class from com.google.common.hash
package.
Intellij IDEA shows following warning if I am using functions of that class:
The class itself is annotated with @Beta
annotation:
The description of @Beta
annotation says:
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release. An API bearing this annotation is exempt from any compatibility guarantees made by its containing library. Note that the presence of this annotation implies nothing about the quality or performance of the API ...
- So the implementation of the API is fine and stable?
... in question, only the fact that it is not "API-frozen." It is generally safe for applications to depend on beta APIs, at the cost of some extra work ...
- Which kind of extra work?
... during upgrades. However it is generally inadvisable for libraries (which get included on users' CLASSPATHs, outside the library developers' control) to do so.
The question is whether it is safe / stable to use mentioned class and its functionality? What is the tradeoff while using a beta API?