Stream of infinite number of elements

Denis DEBARBIEUX denis.debarbieux at inria.fr
Wed Dec 26 06:23:55 PST 2012


Hi all,

To implement the interface /Stream/, I have to implement methods like 
/max, min, sorted/.

What is expected by the interface when my stream is infinite? Throw an 
exception (does the interface provide an InfiniteStreamException?) or 
implement them as an any time algorithm?

Denis

-- 
Denis Debarbieux
Engineer at INRIA
+33 (0)3.59.35.87.10
Skype: denis.debarbieux



More information about the lambda-dev mailing list