All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.common.base.IdentityHolder Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.oracle.common.base;

/**
 * A Holder implementation which additionally provides an equals/hashCode implementation based on the held
 * object's identity.
 *
 * @author  mf  2017.03.27
 * @deprecated use {@link com.oracle.coherence.common.base.IdentityHolder} instead
 */
@Deprecated
public class IdentityHolder
        extends com.oracle.coherence.common.base.IdentityHolder
        implements Holder
    {
    /**
     * Construct an IdentityHolder holding nothing.
     */
    public IdentityHolder()
        {
        super();
        }

    /**
     * Construct an IdentityHolder holding the specified object.
     *
     * @param v  the object to hold
     */
    public IdentityHolder(V v)
        {
        super(v);
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy