[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: ObservableList API Question
From: martin.sladecek () oracle ! com (Martin Sladecek)
Date: 2012-09-26 7:31:46
Message-ID: 5062AF62.1010608 () oracle ! com
[Download RAW message or body]
Hi Bruce,
please file these issue into JIRA. http://javafx-jira.kenai.com
<http://javafx-jira.kenai.com/>
Thanks,
-Martin
On 09/25/2012 07:36 PM, Bruce Alspaugh wrote:
> If you look at the API for List, you will see the following methods
> accept plain Objects, or collections of plain Objects:
>
> List#remove(Object o)
> List#removeAll(Collection<?> c);
> List#retainAll(Collection<?> c);
> List#indexOf(Object o)
> List#contains(Object o);
> List#containsAll(Collection<?> c);
>
> So why does ObservableList only accept generic E's in the following
> methods?
>
> ObservableList#removeAll(E... elements)
> ObservableList#retainAll(E... elements)
>
> Also, why is there no corresponding ObservableList#containsAll(Object...
> elements) method?
>
> Bruce
>
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic