src/main/java/org/jboss/util/collection/CachedCollection.java
/**
    * 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.
@param obj  Object (or null to add to the collection.
@return     True if object was added.
Add an object to the collection . @param obj Object ( or null to add to the collection . @return True if object was added .
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.
Add an object to the collection .