title: Java equivalent of C's poll()?
body: <p>As the title suggests, I'd like to know what is Java's equivalent (or most similar) function to C's <code>poll()</code> function for polling a set of file descriptors?</p>