mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-24 12:06:27 +00:00
Marked class as sealed
This commit is contained in:
@@ -14,7 +14,7 @@ namespace SystemExtensions.Collections
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Provided type.</typeparam>
|
||||
[Serializable]
|
||||
public class AVLTree<T> : ICollection<T> where T : IComparable<T>
|
||||
public sealed class AVLTree<T> : ICollection<T> where T : IComparable<T>
|
||||
{
|
||||
#region Fields
|
||||
[Serializable]
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace SystemExtensions.Collections
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Provided type.</typeparam>
|
||||
[Serializable]
|
||||
public class BinaryHeap<T> : IEnumerable<T> where T : IComparable<T>
|
||||
public sealed class BinaryHeap<T> : IEnumerable<T> where T : IComparable<T>
|
||||
{
|
||||
#region Fields
|
||||
T[] items;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace SystemExtensions.Collections
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Provided type</typeparam>
|
||||
[Serializable]
|
||||
public class FibonacciHeap<T> : IEnumerable<T> where T : IComparable<T>
|
||||
public sealed class FibonacciHeap<T> : IEnumerable<T> where T : IComparable<T>
|
||||
{
|
||||
#region Fields
|
||||
private FibonacciNode<T> root;
|
||||
@@ -462,7 +462,7 @@ namespace SystemExtensions.Collections
|
||||
#endregion
|
||||
}
|
||||
[Serializable]
|
||||
internal class FibonacciNode<T>
|
||||
internal sealed class FibonacciNode<T>
|
||||
{
|
||||
#region Fields
|
||||
private FibonacciNode<T> previous;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace SystemExtensions.Collections
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Provided type.</typeparam>
|
||||
[Serializable]
|
||||
public class PriorityQueue<T> : IQueue<T> where T : IComparable<T>
|
||||
public sealed class PriorityQueue<T> : IQueue<T> where T : IComparable<T>
|
||||
{
|
||||
#region Fields
|
||||
private BinaryHeap<T> binaryHeap;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace SystemExtensions.Collections
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Provided type.</typeparam>
|
||||
[Serializable]
|
||||
public class SkipList<T> : ICollection<T> where T : IComparable<T>
|
||||
public sealed class SkipList<T> : ICollection<T> where T : IComparable<T>
|
||||
{
|
||||
#region Fields
|
||||
[Serializable]
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace SystemExtensions.Collections
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Provided type.</typeparam>
|
||||
[Serializable]
|
||||
public class Treap<T> : ICollection<T> where T : IComparable<T>
|
||||
public sealed class Treap<T> : ICollection<T> where T : IComparable<T>
|
||||
{
|
||||
#region Fields
|
||||
[Serializable]
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace SystemExtensions.Threading
|
||||
/// Features both an automated algorithm to calibrate the number of active threads and a Constructor for constructing
|
||||
/// a threadpool manually, without the auto-managed pool algorithm.
|
||||
/// </summary>
|
||||
public class PriorityThreadPool : IDisposable
|
||||
public sealed class PriorityThreadPool : IDisposable
|
||||
{
|
||||
private class QueueEntry : IComparable<QueueEntry>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user