Skip to content

Commit 98ecc84

Browse files
committed
doc: Add summary for few members
1 parent 744ec66 commit 98ecc84

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/IntSet/IntSet.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,14 @@ public IntSet(bool isFastest, bool isFull)
4646

4747
protected internal long _count;
4848

49+
/// <summary>
50+
/// The number of elements contained in the set
51+
/// </summary>
4952
public long LongCount => _count;
5053

54+
/// <summary>
55+
/// The flag is a setting indicating that actions need to be performed faster, sacrificing memory release
56+
/// </summary>
5157
public bool IsFastest
5258
{
5359
get => _isFastest;
@@ -827,6 +833,12 @@ private IEnumerable<int> ProcessBytesDirectional(Card rootNode, int i0, int i1,
827833

828834
#region Public API
829835

836+
/// <summary>
837+
/// Get the elements in a given range sorted from first to last
838+
/// </summary>
839+
/// <param name="firstElement">First element of range</param>
840+
/// <param name="lastElement">Last element of range</param>
841+
/// <returns></returns>
830842
public IEnumerable<int> GetElementsInRange(int firstElement, int lastElement)
831843
{
832844
int minValue = Math.Min(firstElement, lastElement);

0 commit comments

Comments
 (0)