On Feb 10, 2014, at 3:11 PM, Jason Mehrens <jason_mehr...@hotmail.com> wrote:

>> Too bad there is no interface with only get(index), set(index, x),
>> and indexOf(x). Implementing only these would probably satisfy
>> all candidate usages.
> 
> With default methods can't we modify the RandomAccess marker interface with 
> hostile implementations?
> 

I was pondering the same thing, but concluded to myself that the hostility was 
rather too hostile given that the interface is not a subtype of List.

Paul.

Reply via email to