Class PatternMatchedCollection<T>