Le 29/04/13 18:51, Martin Desruisseaux a écrit :
The schedule that I posted last week is going to be delayed by at least one week, since I'm still fighting with bullet 1...

Just for the record, the difficulty was that the TreeTable.Node.getChildren() returns a List [1], and the List contract appears to be very tricky to implement correctly in the context of metadata (and random access appears inefficient anyway). I'm relaxing the return type from List to Collection, which makes implementation much easier.

The List type was not required by SIS (the Collection type is sufficient). However I tried to meet the List contract because a List is often required by widgets toolkits (Swing, JavaFX...). By abandoning the List contract, we may need to provide some wrappers in GUI applications. However given that JavaFX for instance actually wants an ObservableList rather than the standard List, wrappers would probably have been required anyway.

    Martin

[1] https://builds.apache.org/job/sis-trunk/site/apidocs/org/apache/sis/util/collection/TreeTable.Node.html#getChildren%28%29

Reply via email to