Skip to content

Commit

Permalink
Add Keys and Values properties
Browse files Browse the repository at this point in the history
  • Loading branch information
basp1 committed Jul 16, 2019
1 parent 60ae075 commit 526307b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/FlatMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,22 @@ public int Capacity
}
}

public IList<Key> Keys
{
get
{
return keys;
}
}

public IList<Value> Values
{
get
{
return values;
}
}

public void Reserve(int capacity)
{
keys.Capacity = capacity;
Expand Down

0 comments on commit 526307b

Please sign in to comment.