export class MapList { static add( map:Map, k:K, v:V ) { if ( ! map.has( k ) ) { map.set( k, [] ); } map.get( k ).push( v ); } }