Class SSMTest


  • public class SSMTest
    extends java.lang.Object
    Iterate through the attributes of a StateSpaceModel.

    To replicate:

     bash-3.2$ javac -classpath $PTII SSMTest.java
     bash-3.2$ java -classpath $PTII org.ptolemy.ssm.test.SSMTest
     Attribute: ptolemy.kernel.util.SingletonConfigurableAttribute {..myStateSpace._iconDescription}
     Attribute: ptolemy.data.expr.Parameter {..myStateSpace.stateVariableNames} {"x", "y"}
     Exception in thread "main" java.util.ConcurrentModificationException
            at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:966)
            at java.util.LinkedList$ListItr.next(LinkedList.java:888)
            at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1042)
            at org.ptolemy.ssm.test.SSMTest.main(SSMTest.java:17)
     
    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Christopher Brooks
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Constructor Summary

      Constructors 
      Constructor Description
      SSMTest()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSMTest

        public SSMTest()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Throwable
        Throws:
        java.lang.Throwable