I understand that if I want to implement the partial function trait, I have to provide implementation to the two abstract methods, apply and isDefinedAt. But since this is Scala as always, there seems to be numerous ways to define a partial function. Here is one such example:
My question is that the val p is of type Partial Function which means that somewhere there should be implementations for the two abstract methods apply and isDefinedAt. Where have they gone now with the above short hand notation? Any ideas?
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!