# class EventCollectionUtils

#### package com.turner.top.lib.events.collection

### Static methods

###

`staticcreateCollectionFactory<T, R> (factoryEvents:Array<EventSignal1<T, R>>, factoryEventMap:Map<String, EventSignal1<T, R>>):EventCollectionFactory<T, R>`

This function creates the proper event array and event map for all collection entry points TODO: This is a bit wonky; the general approach used for eventMap / listenFor support should be refactored

###

`staticcreateCollectionFromFactory<T, R> (factory:EventCollectionFactory<T, R>):SimpleEventCollection<T, R>`

###

`staticgenerateEventMap<T, R> (instance:Any):Map<String, EventSignal1<T, R>>`

Given a class instance, generate an event map using reflection TODO: constraint check