brahms.base.system
Class AddObjectToArrayActivity

java.lang.Object
  extended by gov.nasa.arc.brahms.vm.api.jac.AbstractExternalActivity
      extended by brahms.base.system.AddObjectToArrayActivity
All Implemented Interfaces:
IExternalActivity

public class AddObjectToArrayActivity
extends AbstractExternalActivity

The AddObjectToArrayActivity allows a modeler to pass a bound source array variable, an unbound destination array variable and a java object variable all of the same component-type. The activity will create a new array with length = source.length + 1. It will copy all elements from the source array to the new array and add the given object to its end. It will then bind the new array to the destination array variable. The Brahms java activity declaration takes three parameters: