Scala - this: Visitor[Double] ⇒ what does it means?

Moderatoren: pmueller, SE - Design and Construction

Benutzeravatar
AizazZaidee
BASIC-Programmierer
BASIC-Programmierer
Beiträge: 106
Registriert: 20. Apr 2016 22:49

Scala - this: Visitor[Double] ⇒ what does it means?

Beitrag von AizazZaidee » 7. Jul 2018 13:22

Hi,
Here is a strange syntax looks like incomplete line of code... anyone please explain me what does it means?

Thanks
Dateianhänge
Capture.JPG
Strange scala syntax
Capture.JPG (47.85 KiB) 260 mal betrachtet

Benutzeravatar
AizazZaidee
BASIC-Programmierer
BASIC-Programmierer
Beiträge: 106
Registriert: 20. Apr 2016 22:49

Re: Scala - this: Visitor[Double] ⇒ what does it means?

Beitrag von AizazZaidee » 7. Jul 2018 15:08

I have found out they are Scala self types, https://docs.scala-lang.org/tour/self-types.html if anyone else has same question.

Antworten

Zurück zu „Software Engineering - Design and Construction“