Polymorphic Methods - Scala Documentation

Methods in Scala can be parameterized by type as well as value. The syntax is similar to that of generic classes. Type parameters are declared within a pair of brackets while value parameters are enclosed in a pair of parentheses.


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//tutorials/tour/polymorphic-methods.html.html