/**
 * Queue structure implementation.
 */ export class Queue < T > { /**
     * Private queue store.
     */ private store : T [ ] = [ ] ; param value public push ( value ) { this . store . push ( value ) ; } /**
     * Popes value from the store.
     */ public pop ( ) { return this . store . shift ( ) ; } }