NewIntSetFrom returns a new set from `items`.
(items []int, safe ...bool)
| 28 | |
| 29 | // NewIntSetFrom returns a new set from `items`. |
| 30 | func NewIntSetFrom(items []int, safe ...bool) *IntSet { |
| 31 | return &IntSet{ |
| 32 | TSet: NewTSetFrom(items, safe...), |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // lazyInit lazily initializes the set. |
| 37 | func (a *IntSet) lazyInit() { |
searching dependent graphs…