MCPcopy Index your code
hub / github.com/Workiva/go-datastructures / Equals

Method Equals

bitarray/interface.go:54–54  ·  view source on GitHub ↗

Equals returns a bool indicating equality between the two bit arrays.

(other BitArray)

Source from the content-addressed store, hash-verified

52 // Equals returns a bool indicating equality between the
53 // two bit arrays.
54 Equals(other BitArray) bool
55 // Intersects returns a bool indicating if the other bit
56 // array intersects with this bit array.
57 Intersects(other BitArray) bool

Callers 10

TestCompressedEqualsFunction · 0.65
TestSparseEqualsBitArrayFunction · 0.65
TestEqualityFunction · 0.65
BenchmarkEqualityFunction · 0.65
TestBitArrayEqualsSparseFunction · 0.65

Implementers 2

sparseBitArraybitarray/sparse_bitarray.go
bitArraybitarray/bitarray.go

Calls

no outgoing calls

Tested by 10

TestCompressedEqualsFunction · 0.52
TestSparseEqualsBitArrayFunction · 0.52
TestEqualityFunction · 0.52
BenchmarkEqualityFunction · 0.52
TestBitArrayEqualsSparseFunction · 0.52