title: How to iterate through the list of IPv4 network addresses in Java or Android one by one?
body: <p>How to iterate through the list of available IPv4 network addresses in Java or Android one by one?</p>
  
  <p><em>[this is a self-answered question]</em></p>