commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [Graph] Test problems after last commit
Date Fri, 02 Mar 2012 23:45:02 GMT
> furthermore there is another problem: with handler is not possible to use correctly synchronization
block like this
>
> ====
> Graph g = CommonsGraph.synchronize(g_);
>     ...
>  synchronized(g) {
>       for ( BaseLabeledVertex v2 : g.getVertices() )
>       {
>           // do somethings
>       }
>  }
> ====

sorry I don't understand what you meant/intend to do

> I really think that a synchronized wrapper it's the best solution.
>
> WDYT?

they sucks because we have to keep them updated while , but if there
are not alternatives...
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message