methods missing from scaladoc search

73 views Asked by At

None of the Value Members of the Tuple2 class appear when I do a search for them.

Examples: _2, invert, swap

Are some classes intentionally left out when doing a scaladoc search? Is my browser playing tricks on me?

1

There are 1 answers

0
Chris Martin On

I would guess this is intentional; Tuple2 inherits _2 from Product2 (which does show up in the search results), so perhaps the designers of the search interface thought it would be overly redundant for the search output to include a separate result for every subtype.

You can click on Product2 and then "Known Subclasses" to find out that Tuple2 inherits this method.