ptolemy.kernel.util
Interface Singleton

All Known Implementing Classes:
SingletonAttribute, SingletonConfigurableAttribute

public interface Singleton

This interface is used to indicate that an attribute is a singleton, meaning that when setContainer() is called, if there is a previous instance of the attribute, then that previous instance is removed.

Since:
Ptolemy II 4.0
Version:
$Id: Singleton.java,v 1.7 2004/04/13 03:44:10 cxh Exp $
Author:
Edward A. Lee
Accepted Rating:
Green (cxh)
Proposed Rating:
Green (eal)