Class MACAddressNetwork.MACAddressCreator
java.lang.Object
inet.ipaddr.format.validate.ParsedAddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
inet.ipaddr.format.standard.AddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
inet.ipaddr.mac.MACAddressNetwork.MACAddressCreator
- All Implemented Interfaces:
AddressNetwork.AddressSegmentCreator<MACAddressSegment>, Serializable
- Enclosing class:
MACAddressNetwork
public static class MACAddressNetwork.MACAddressCreator
extends AddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
implements AddressNetwork.AddressSegmentCreator<MACAddressSegment>
- Author:
- scfoley
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateAddress(MACAddressSection section) createRangeSegment(int lower, int upper) createSegment(int value) createSegment(int lower, int upper, Integer segmentPrefixLength) createSegment(int value, Integer segmentPrefixLength) createSegmentArray(int length) intMethods inherited from class ParsedAddressCreator
setSegmentCaching
-
Method Details
-
clearCaches
public void clearCaches()- Overrides:
clearCachesin classParsedAddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
-
getNetwork
- Specified by:
getNetworkin classAddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
-
getMaxValuePerSegment
public int getMaxValuePerSegment() -
createSegmentArray
- Specified by:
createSegmentArrayin interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>- Specified by:
createSegmentArrayin classParsedAddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
-
createSegment
- Specified by:
createSegmentin interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>
-
createSegment
- Specified by:
createSegmentin interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>
-
createRangeSegment
-
createSegment
- Specified by:
createSegmentin interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>- Specified by:
createSegmentin classParsedAddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
-
createAddress
- Specified by:
createAddressin classAddressCreator<MACAddress, MACAddressSection, MACAddressSection, MACAddressSegment>
-