public interface AddressItemRange extends AddressItem
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<? extends AddressItem> |
getIterable()
Useful for using an instance in a "for-each loop".
|
AddressItem |
getLower()
If this instance represents multiple address items, returns the one with the lowest numeric value.
|
AddressItem |
getUpper()
If this instance represents multiple address items, returns the one with the highest numeric value.
|
java.util.Iterator<? extends AddressItem> |
iterator()
Iterates through the individual elements of this address item.
|
compareTo, containsPrefixBlock, containsSinglePrefixBlock, getBitCount, getByteCount, getBytes, getBytes, getBytes, getCount, getMinPrefixLengthForBlock, getPrefixCount, getPrefixLengthForSingleBlock, getUpperBytes, getUpperBytes, getUpperBytes, getUpperValue, getValue, includesMax, includesZero, isFullRange, isMax, isMultiple, isZero, testRange, testRangeAddressItem getLower()
AddressItem getUpper()
java.lang.Iterable<? extends AddressItem> getIterable()
iterator() directly.java.util.Iterator<? extends AddressItem> iterator()
Call AddressItem.isMultiple() to determine if this instance represents multiple, or AddressItem.getCount() for the count.