On Fri, 4 May 2001, James Strachan wrote: > 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 > > +1 Craig
- 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
- [PATCH][threading] any objec... James Strachan
- Re: [PATCH][Collections] a v... 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
- Re: [MetaFactory] experiment James Strachan