Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the rich operations and rich class lists in Scala

Shulou Source: shulou.com Published: 2022-06-02 07:13:47 10月02日 Update

This article mainly explains "what are the rich operations and the rich class list in Scala". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the rich operations and rich class list in Scala?"

You can call far more methods on the Scala primitive type than you have mentioned in the previous paragraphs. Several examples are listed in Table 5.4. These methods are used through implicit conversion: implicit conversion. All you need to know now is that for each of the basic types described in this chapter, there is a "rich wrapper" that provides many additional methods. So, to see all the methods available for the base type, you should also take a look at the API document for each basic type of rich wrapper.

Table 5.4 some rich operations

Form 5.5 Rich Packaging Class

Thank you for reading, the above is the content of "what are the rich operations and rich class list in Scala". After the study of this article, I believe you have a deeper understanding of the rich operation and rich class list in Scala, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Methods types tables packaging learning content that is examples ideas situations documents articles more knowledge knowledge points articles follow questions practice push Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Microsoft Linux Shulou Technology vpn