Package ptolemy.kernel

Examples of ptolemy.kernel.Relation


                // a ConcurrentModificationException.
                HashMap clonedMap = (HashMap) (_localReceiversTable.clone());
                Iterator relations = clonedMap.keySet().iterator();

                while (relations.hasNext()) {
                    Relation relation = (Relation) relations.next();

                    if (!isInsideLinked(relation)) {
                        _removeReceivers(relation);
                        _localReceiversTable.remove(relation);
                        _localReceiversVersion = -1;
View Full Code Here


                // a ConcurrentModificationException.
                HashMap clonedMap = (HashMap) (_localReceiversTable.clone());
                Iterator relations = clonedMap.keySet().iterator();

                while (relations.hasNext()) {
                    Relation relation = (Relation) relations.next();

                    if (isInsideLinked(relation)) {
                        _removeReceivers(relation);
                        _localReceiversTable.remove(relation);
                        _localReceiversVersion = -1;
View Full Code Here

    public void unlinkInside(int index) {
        // Override the base class to update _localReceiversTable.
        try {
            _workspace.getWriteAccess();

            Relation toDelete = (Relation) _insideLinks.get(index);

            if (toDelete != null) {
                if (_localReceiversTable != null) {
                    _removeReceivers(toDelete);
                    _localReceiversTable.remove(toDelete);
View Full Code Here

TOP

Related Classes of ptolemy.kernel.Relation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.