public boolean add(final Object obj) {
      maintain();

      SoftObject soft = SoftObject.create(obj, queue);
      
      return collection.add(soft);
   }
public boolean add(final Object obj) {
      maintain();

      SoftObject soft = SoftObject.create(obj, queue);
      
      return collection.add(soft);
   }
public boolean add ( final Object obj ) { maintain ( ) ; SoftObject soft = SoftObject . create ( obj , queue ) ; return collection . add ( soft ) ; }
Add an object to the collection.

@param obj  Object (or <i>null</i> to add to the collection.
@return     True if object was added.
Add an object to the collection .