mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-16 14:39:28 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5cb4b3a512 | |||
| e8c9e682ed |
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user