<:< operator in scala.
Posted
by scout
on Stack Overflow
See other posts from Stack Overflow
or by scout
Published on 2010-04-08T19:56:36Z
Indexed on
2010/04/08
20:43 UTC
Read the original article
Hit count: 279
scala
Can anybody provide some details on <:< operator in scala. I think
if(apple <:< fruit) //checks if apple is a subclass of fruit.
Are there any other explanations? I see many definitions in the scala source file.
© Stack Overflow or respective owner