What is the meaning of -> in the case of SCALA code? ComputedFactors.profitPercentage -> detectionData.aggFields.profitPrecent
Asked
Active
Viewed 18 times
0
-
2Please post the full code sample. – Guru Stron May 16 '22 at 12:05
-
2It is probably creating a tuple `foo -> bar` is just sugar syntax for `(foo, bar)` - Unless, `foo` defines a `->` method itself. – Luis Miguel Mejía Suárez May 16 '22 at 12:59