Skip to content

Add SubnetAddressIterable and SubnetAddressIterator#298

Merged
garydgregory merged 3 commits intoapache:masterfrom
Lixiongyou:master
Oct 13, 2024
Merged

Add SubnetAddressIterable and SubnetAddressIterator#298
garydgregory merged 3 commits intoapache:masterfrom
Lixiongyou:master

Conversation

@Lixiongyou
Copy link
Copy Markdown
Contributor

org.apache.commons.net.util.SubnetUtils.SubnetInfo#getAllAddresses method may take too much memory when dealing with subnet like "1.0.0.0/8", so add SubnetAddressIterable & SubnetAddressIterator to implement similar function.

@garydgregory garydgregory merged commit e6db671 into apache:master Oct 13, 2024
@garydgregory
Copy link
Copy Markdown
Member

@Lixiongyou

Thank you for your PR. I added some Javadoc and used final. Please make sure future PR contain full Javadocs.

@garydgregory garydgregory changed the title Add SubnetAddressIterable & SubnetAddressIterator Add SubnetAddressIterable and SubnetAddressIterator Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants