UNPKG

node-red-contrib-tak-registration

Version:

A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK

20 lines (19 loc) 424 B
import ItemVisitor from './ItemVisitor' import ArrayList from '../../../../java/util/ArrayList' export default class ArrayListVisitor { constructor() { ArrayListVisitor.constructor_.apply(this, arguments) } static constructor_() { this._items = new ArrayList() } visitItem(item) { this._items.add(item) } getItems() { return this._items } get interfaces_() { return [ItemVisitor] } }