public interface IPool<T>
Care must be taken by users that object sharing is appropriate for their application. It is easy to "over share" objects leading to unexpected and difficult to debug behaviour.
This interface is not intended to be implemented by clients.
T add(T newObject)
null
,
null
is returned.newObject
- the object to addnull
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.