Javafx-2 – what is this public API in JavaFX that needs to be clarified?

I am very concerned about the term public API in JavaFX speakers

>What is a public API? What should it mean? > Instead, is there a private API?

Solution

Most importantly, you should know about private and public APIs:

First, technically, you can use them

In the second When developers develop some programs, they think - this is for users, this is our implementation The program can change over time When developers add changes - if it's about private API changes - they do everything they want, just pass on the internal code review process But when there is a need to change the public API - they start thinking If they do need it and no other solution can do it, they change the public API and provide all information about the change (such as release notes)

This is a common process – previously thinking and developing a separation between public and private APIs so that users can have stable product functions

Part 3: About JavaFX: its private API is surviving Products are under development and these APIs are changing rapidly Public APIs are mostly stable and are the most common thing for public API changes - when adding classes to expose available methods (new features)

If you want / need to use some functions in the private API – this is your risk It can be changed or even deleted Developers are not responsible for keeping private functions in the product or using stable APIs

Finally, you can submit an RFE in JavaFX JIRA to request disclosure of its functionality If it's really good (it's up to the developer; maybe after public discussion; follow the voting results) – it can be done

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>