Package org.apache.commons.net.util
Class SubnetUtils.SubnetAddressStringIterable
- java.lang.Object
-
- org.apache.commons.net.util.SubnetUtils.SubnetAddressStringIterable
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.String>
- Enclosing class:
- SubnetUtils
private static final class SubnetUtils.SubnetAddressStringIterable extends java.lang.Object implements java.lang.Iterable<java.lang.String>Allows an object to be the target of the "for-each loop" statement for a SubnetInfo.
-
-
Field Summary
Fields Modifier and Type Field Description private SubnetUtils.SubnetInfosubnetInfo
-
Constructor Summary
Constructors Modifier Constructor Description privateSubnetAddressStringIterable(SubnetUtils.SubnetInfo subnetInfo)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<java.lang.String>iterator()
-
-
-
Field Detail
-
subnetInfo
private final SubnetUtils.SubnetInfo subnetInfo
-
-
Constructor Detail
-
SubnetAddressStringIterable
private SubnetAddressStringIterable(SubnetUtils.SubnetInfo subnetInfo)
Constructs a new instance.- Parameters:
subnetInfo- the SubnetInfo to iterate.
-
-