I'd be happy to make the change over to the proposed new Queue interface in
the threading project over the weekend if there's no objections?
> So do we agree on the following?
>
> public interface Queue {
>
> public int size();
>
> public void add(Object);
>
> // blocking remove
> public Object remove();
> public Object remove(long timeout);
>
> // non-blocking
> public Object removeNoWait();
>
> // peek - doesn't remove
> public Object peek();
> }
James
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
- Re: [PATCH][Collections] a variety of new classes... Geir Magnusson Jr.
- Re: [PATCH][Collections] a variety of new classes... Vincent Massol
- Re: [PATCH][Collections] a variety of new classes... James Strachan
- Re: [PATCH][Collections] a variety of new cla... Craig R. McClanahan
- Re: [PATCH][Collections] a variety of new... James Strachan
- Re: [PATCH][Collections] a variety of... Craig R. McClanahan
- Re: [PATCH][Collections] a varie... James Strachan
- Re: [PATCH][Collections] a v... Peter Donald
- Re: [PATCH][Collections] a v... James Strachan
- Re: [PATCH][Collections] a v... Craig R. McClanahan
- Re: [PATCH][threading] any o... James Strachan
- Re: [PATCH][threading] any o... Craig R. McClanahan
- Re: [PATCH][Collections] a variety of new classes... David Rees
- Re: [PATCH][Collections] a variety of new classes... David Rees
- Re: [PATCH][Collections] a variety of new cla... James Strachan
- Re: [PATCH][Collections] a variety of new classes... James Strachan
- Re: [PATCH][Collections] a variety of new classes... James Strachan
- [MetaFactory] experiment James Strachan
- Re: [MetaFactory] experiment Geir Magnusson Jr.
- Re: [MetaFactory] experiment Vincent Massol
- Re: [MetaFactory] experiment Peter Donald
