/*******************************************************************************
* Copyright (c) 2008 Institute for Software, HSR Hochschule fuer Technik
* Rapperswil, University of applied sciences and others
* 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:
* Institute for Software - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.internal.ui.refactoring;
/**
* Simple container for one Object, with getters and setters.
*
* @author Mirko Stocker
*
* @param <T> The type of the encapsulated node.
*/
public class Container<T> {
private T object;
public Container(T object) {
this.object = object;
}
public Container() {
}
public T getObject() {
return object;
}
public void setObject(T object) {
this.object = object;
}
}