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

Reply via email to