Package org.eclipse.php.internal.core.util

Examples of org.eclipse.php.internal.core.util.WeakObject


   * @param o
   *            element whose presence in this collection is to be tested.
   * @return <tt>true</tt> if this collection contains the specified element
   */
  public boolean contains(Object o) {
    return refrencedCollection.contains(new WeakObject(o));
  }
View Full Code Here


    }
    return a;
  }

  public boolean add(Object o) {
    WeakObject weakObject = new WeakObject(o);
    return refrencedCollection.add(weakObject);
  }
View Full Code Here

    WeakObject weakObject = new WeakObject(o);
    return refrencedCollection.add(weakObject);
  }

  public boolean remove(Object o) {
    WeakObject weakObject = new WeakObject(o);
    return refrencedCollection.remove(weakObject);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.util.WeakObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.