stream 类完善