(value2 *arrayContainer)
| 916 | } |
| 917 | |
| 918 | func (ac *arrayContainer) andArray(value2 *arrayContainer) container { |
| 919 | desiredcapacity := minOfInt(ac.getCardinality(), value2.getCardinality()) |
| 920 | answer := newArrayContainerCapacity(desiredcapacity) |
| 921 | length := intersection2by2( |
| 922 | ac.content, |
| 923 | value2.content, |
| 924 | answer.content) |
| 925 | answer.content = answer.content[:length] |
| 926 | return answer |
| 927 | } |
| 928 | |
| 929 | func (ac *arrayContainer) andArrayCardinality(value2 *arrayContainer) int { |
| 930 | return intersection2by2Cardinality( |
no test coverage detected