DT Big Data Dream factory 58th talk

Source: Internet
Author: User

Today "DT Big Data DreamWorks Video", 58th Lecture: Scala Abstract types actual combat detailed
Tudou: http://www.tudou.com/programs/view/E5QGmPvfupc/

Baidu Cloud Disk: http://pan.baidu.com/s/1bnc1skv
(DT Big Data Dream factory Scala all videos, PPT and code in Baidu Cloud Disk link address: http://pan.baidu.com/share/home?uk=4013289088&view=share#category/ Type=0&qq-pf-to=pcqq.group
In this section, teacher Wang speaks abstract types. First there is a trait T, which defines the abstract type a<:serializable, (the type a must be Serializable), B, and a method R, the parameter is a, and the return value is B. But they do not specify what type they are. In the implementation class C of T, A is defined as string,b and StringBuffer, and R is implemented. You can create a new C object and call the R method.

DT Big Data Dream factory 58th talk

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.