public WeightedSet(int inCapacity) { m_Entries = new RingBuffer <Entry>(inCapacity, RingBufferMode.Expand); m_Cached = true; }
public WeightedSet() { m_Entries = new RingBuffer <Entry>(); m_Cached = true; }
public BufferedCollection(int inCapacity) { m_Entries = new RingBuffer <Entry>(inCapacity, RingBufferMode.Expand); }
/// <summary> /// Sorts the given buffer by key. /// </summary> static public void SortByKey <K, V>(this RingBuffer <V> inList) where V : IKeyValuePair <K, V> where K : IComparable <K> { inList.Sort(KeySorter <K, V, V> .KeyComparer); }
public BufferedCollection() { m_Entries = new RingBuffer <Entry>(); }