Generic: QueueOfString => QueueOf<T>