swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] ListImpl help


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,

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.

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.

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]