In Java, because it always returns the _same_ object, unmodified. (Although Shap apparently doesn't like to think of it this way.) This guarantee cannot be expressed with the signature of a method.
On Thu, Jul 3, 2014 at 2:20 PM, Dominique Quatravaux <[email protected]> wrote: > Why > should upcast / downcast look and feel any different from any other > method that happens to return an object? _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
