Parker's DevEd Blog

Musings on all software development technologies, and education involving computer science and fraud investigation

Browse by Tags

All Tags » RollingList (RSS)
Final RollingList<T>
public class RollingList <T> : ICollection <T> { #region Private Fields private int _capacity; private LinkedList <T> _linkedList; #endregion #region Constructors public RollingList( int capacity) { _capacity = capacity; _linkedList...
RollingList<T>
Have you ever wanted to create a rolling list? Something similar to a queue but with a size limitation that kicks out the oldest element and brings in the new. I've been looking for a way to do this for a while now, and finally decided to just create...