Commit 3a02d872 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4c57cd2b
......@@ -109,13 +109,25 @@ func (A *RangedKeySet) DifferenceInplace(B *RangedKeySet) {
}
// Clone
// Clone returns copy of the set.
func (orig *RangedKeySet) Clone() *RangedKeySet {
return &RangedKeySet{orig.m.Clone()}
}
// Empty
// Empty returns whether the set is empty.
func (S *RangedKeySet) Empty() bool {
return S.m.Empty()
}
// Equal
// Equal returns whether A == B.
func (A *RangedKeySet) Equal(B *RangedKeySet) bool {
return A.m.Equal(B.m)
}
// Clear
// Clear removes all elements from the set.
func (S *RangedKeySet) Clear() {
S.m.Clear()
}
// AllRanges
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment