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

com.oracle.coherence.common.base.Holder 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.coherence.common.base;


/**
 * A Holder is a reference like object, i.e. it simply holds another object.
 *
 * @param   the value type
 *
 * @author mf  2010.12.2
 */
public interface Holder
    {
    /**
     * Specify the held object.
     *
     * @param value  the object to hold
     */
    public void set(V value);

    /**
     * Return the held object.
     *
     * @return the held object
     */
    public V get();
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy