Implement Stream interface