Why Arrayish implements Cloneable?
pbenedict at apache.org
Wed Apr 27 14:32:10 UTC 2016
Oh, okay ... so basically when you let the native "any" type be boxed,
you're exposing the same functionality through an interface.
On Wed, Apr 27, 2016 at 9:25 AM, Brian Goetz <brian.goetz at oracle.com> wrote:
> Because array types (int, String) *already* implement Cloneable and
> On 4/27/2016 10:18 AM, Paul Benedict wrote:
>> I only ask because Cloneable is typically looked at as a poor mechanism
>> duplicating objects. That's the sentiment, anyway, widely popularized by
>> the Effective Java book.
More information about the valhalla-dev