Skip to content

Commit

Permalink
merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
eryeer committed Jan 7, 2020
2 parents 2237dd3 + 92ca693 commit fe1ba9d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/neo/IO/Caching/HashSetCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@ namespace Neo.IO.Caching
{
public class HashSetCache<T> : IReadOnlyCollection<T> where T : IEquatable<T>
{
/// <summary>
/// Sets where the Hashes are stored
/// </summary>
private readonly LinkedList<HashSet<T>> sets = new LinkedList<HashSet<T>>();
/// <summary>
/// Maximum capacity of each bucket inside each HashSet of <see cref="sets"/>.
/// </summary>
private readonly int bucketCapacity;
/// <summary>
/// Maximum number of buckets for the LinkedList, meaning its maximum cardinality.
/// </summary>
private readonly int maxBucketCount;
private readonly LinkedList<HashSet<T>> sets = new LinkedList<HashSet<T>>();

public int Count
{
Expand Down

0 comments on commit fe1ba9d

Please sign in to comment.