
org.eclipse.packagedrone.utils.Holder Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2015 IBH SYSTEMS GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBH SYSTEMS GmbH - initial API and implementation
*******************************************************************************/
package org.eclipse.packagedrone.utils;
/**
* Hold a value
*
* @param
* the actual type
*/
public class Holder
{
/**
* Holds the actual value
*
* This field is explicitly public
*
*/
public T value;
public Holder ()
{
}
public Holder ( final T value )
{
this.value = value;
}
public T getValue ()
{
return this.value;
}
public void setValue ( final T value )
{
this.value = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy