MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / Contains

Method Contains

projects/Go/proto/test/StructSet.go:544–547  ·  view source on GitHub ↗

Contains the given item in the set?

(item StructSimple)

Source from the content-addressed store, hash-verified

542
543// Contains the given item in the set?
544func (s setF4) Contains(item StructSimple) bool {
545 _, exists := s[item.Key()]
546return exists
547}
548
549// Remove the given item from the set
550func (s setF4) Remove(item StructSimple) {

Callers 2

IntersectionMethod · 0.95
DifferenceMethod · 0.95

Calls 1

KeyMethod · 0.45

Tested by

no test coverage detected