Github project for standalone CopyOnWriteArrayNavigableSet

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Github project for standalone CopyOnWriteArrayNavigableSet

Mike Duigou
As promised in my earlier messages I have created a GitHub project for
the standalone Java 8 compatible version of
CopyOnWriteArrayNavigableSet. Currently the source is identical to the
Java 9 version proposed to this list.  If there is interest (or a
volunteer) I will probably also provide a Java 7 compatible version. I
hope to have the module published on Maven Central soonish.

https://github.com/bondolo/cowans8

Cheers,

Mike
_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest
Reply | Threaded
Open this post in threaded view
|

Re: Github project for standalone CopyOnWriteArrayNavigableSet

Aaron Grunthal
Looking through the code I notice that the constructor can be used to
make a snapshot without copying. I think that might be worth documenting
as that's less expensive than toArray or similar operations.

And it may also be useful to also modify the CoWAL constructor to do the
same so the set can be converted to a list which can then be used for
indexed access to a snapshot.

- Aaron



On 13.01.2016 23:31, Mike Duigou wrote:

> As promised in my earlier messages I have created a GitHub project for
> the standalone Java 8 compatible version of
> CopyOnWriteArrayNavigableSet. Currently the source is identical to the
> Java 9 version proposed to this list.  If there is interest (or a
> volunteer) I will probably also provide a Java 7 compatible version. I
> hope to have the module published on Maven Central soonish.
>
> https://github.com/bondolo/cowans8
>
> Cheers,
>
> Mike
> _______________________________________________
> Concurrency-interest mailing list
> [hidden email]
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
>

_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest