(value T)
| 75 | } |
| 76 | |
| 77 | func (st *set[T]) In(value T) bool { |
| 78 | if _, in := st.elements[value]; in { |
| 79 | return true |
| 80 | } |
| 81 | return false |
| 82 | } |
| 83 | |
| 84 | func (st *set[T]) IsSubsetOf(superSet Set[T]) bool { |
| 85 | if st.Len() > superSet.Len() { |
nothing calls this directly
no outgoing calls
no test coverage detected