How to get lazy evaluation of files in java as DirectoryInfo.EnumerateFiles() method of IEnumerable in C#
<p>In C# when you use DirectoryInfo.EnumerateFiles() method of IEnumerable interface, you can start enumerating the collection of names before the whole collection is returned.How to get this in java?</p>
