<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 27/03/17 16:06, Andrey Breslav
wrote:<br>
</div>
<blockquote
cite="mid:CALxtBGROV_V5a3ksc3EnkQSwqhH7UdiBXdD1OmmNsURFHtNMkw@mail.gmail.com"
type="cite"><span style="color:rgb(33,33,33)">- I can check for (a
!= null) and then somewhere inside check for (a is MyClass).
This does not directly apply to Java (unless we envision
introduction of nullable types in the future).<br>
- In a mixed hierarchy, it may often makes sense to first check
for (a is CharSequence) and later — for (a is List), having
methods of both CharSequence and List on a. I can look for exact
examples, if they are of interest to you<br>
</span></blockquote>
Thanks - that answer my question :-)<br>
<br>
Maurizio<br>
</body>
</html>