|
From: | Marcus G. Daniels |
Subject: | Re: [Swarm-Support] ListImpl help |
Date: | Tue, 28 Nov 2006 16:08:09 -0700 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
Hi Diego,
Before you do the remove, you can check to see if it is empty by calling `getCount' on the list. If getCount returns zero, then skip the removal.The problem I am having right now is that when all consumers are removed from any of the two lists, Swarm is getting stuck. It is display a No Members Error.
P.S. since you are using Java, you may want to consider simply using Java lists, as Swarm can accept them in place of the native lists in places where Swarm want lists as arguments. They'll be faster in normal circumstances.
[Prev in Thread] | Current Thread | [Next in Thread] |