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>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createAddress
(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) int
Methods inherited from class inet.ipaddr.format.validate.ParsedAddressCreator
setSegmentCaching
-
Method Details
-
clearCaches
public void clearCaches()- Overrides:
clearCaches
in classParsedAddressCreator<MACAddress,
MACAddressSection, MACAddressSection, MACAddressSegment>
-
getNetwork
- Specified by:
getNetwork
in classAddressCreator<MACAddress,
MACAddressSection, MACAddressSection, MACAddressSegment>
-
getMaxValuePerSegment
public int getMaxValuePerSegment() -
createSegmentArray
- Specified by:
createSegmentArray
in interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>
- Specified by:
createSegmentArray
in classParsedAddressCreator<MACAddress,
MACAddressSection, MACAddressSection, MACAddressSegment>
-
createSegment
- Specified by:
createSegment
in interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>
-
createSegment
- Specified by:
createSegment
in interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>
-
createRangeSegment
-
createSegment
- Specified by:
createSegment
in interfaceAddressNetwork.AddressSegmentCreator<MACAddressSegment>
- Specified by:
createSegment
in classParsedAddressCreator<MACAddress,
MACAddressSection, MACAddressSection, MACAddressSegment>
-
createAddress
- Specified by:
createAddress
in classAddressCreator<MACAddress,
MACAddressSection, MACAddressSection, MACAddressSegment>
-