Package java.util

Examples of java.util.IdentityHashMap


   * @param event The create event to be handled.
   *
   * @throws HibernateException
   */
  public void onPersist(PersistEvent event) throws HibernateException {
    onPersist( event, new IdentityHashMap( 10 ) );
  }
View Full Code Here


*/
public class DefaultRefreshEventListener implements RefreshEventListener {
  private static final CoreMessageLogger LOG = CoreLogging.messageLogger( DefaultRefreshEventListener.class );

  public void onRefresh(RefreshEvent event) throws HibernateException {
    onRefresh( event, new IdentityHashMap( 10 ) );
  }
View Full Code Here

  protected CascadingAction getCascadingAction() {
    return CascadingAction.PERSIST_ON_FLUSH;
  }

  protected Object getAnything() {
    return new IdentityHashMap( 10 );
  }
View Full Code Here

  protected CascadingAction getCascadingAction() {
    return CascadingAction.PERSIST_ON_FLUSH;
  }

  protected Object getAnything() {
    return new IdentityHashMap( 10 );
  }
View Full Code Here

            if (t == Map.class || t == HashMap.class) {
                m = new HashMap();
            } else if (t == LinkedHashMap.class) {
                m = new LinkedHashMap();
            } else if (t == IdentityHashMap.class) {
                m = new IdentityHashMap();
            } else if (t == Hashtable.class) {
                m = new Hashtable();
            } else if (t == TreeMap.class || t == SortedMap.class) {
                m = new TreeMap();
            } else if (t == WeakHashMap.class) {
View Full Code Here

    return CascadingActions.PERSIST_ON_FLUSH;
  }

  @Override
  protected Object getAnything() {
    return new IdentityHashMap( 10 );
  }
View Full Code Here

    return CascadingActions.PERSIST_ON_FLUSH;
  }

  @Override
  protected Object getAnything() {
    return new IdentityHashMap( 10 );
  }
View Full Code Here

  /**
   * Create an IdentitySet with default sizing.
   */
  public IdentitySet() {
    this.map = new IdentityHashMap();
  }
View Full Code Here

   * Create an IdentitySet with the given sizing.
   *
   * @param sizing The sizing of the set to create.
   */
  public IdentitySet(int sizing) {
    this.map = new IdentityHashMap( sizing );
  }
View Full Code Here

  /**
   * @see org.apache.derby.iapi.sql.conn.LanguageConnectionContext#getPrintedObjectsMap
   */
  public Map getPrintedObjectsMap() {
    if (printedObjectsMap == null) {
      printedObjectsMap = new IdentityHashMap();
    }
    return printedObjectsMap;
  }
View Full Code Here

TOP

Related Classes of java.util.IdentityHashMap

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.