ArrayBuilder
last edited 4 years ago by amehrabyan
description
This part is created for building the array of objects of any type. The part is collecting all ADD inpins which are objects and put them in the object array. And after getting GET inpin fires the result array to the OUT outpin. The RESET pin initializes the object array.It just clears the array.
Figure

inpins
- ADD - ID = 1 (Object) - adds object to the array incrementing existing array
- Object - Any Object
- RESET - ID=2 - creates 0 sized array in the place of old one (all elements ara lost)
- GET -ID=3 - trigers event with result array as parameter
- TYPE -ID=4 - (String) - sets type of creating array and resets array to 0 size
- String - fully qualified Java type for example (java.lang.String)
outpins
- OUT -ID=51 - out event with result array
- Object[] - result array
links to cvs
source - revision 1.0 org.vcb.parts.util.ArrayBuilder.java at sourceforge.net
configuration file revision 1.0 ArrayBuilder.vcb at sourceforge.net
status
alpha release