public int addAndGet(int count) {
        return data[index].addAndGet(count);
    }
@Test
    void testAddAndGet() {
        
        SimpleFlowData simpleFlowData = new SimpleFlowData(5, 10000);
        assertEquals(10, simpleFlowData.addAndGet(10));
        assertEquals(20, simpleFlowData.addAndGet(10));
    }