Class Macs

    • Constructor Detail

      • Macs

        public Macs()
      • Macs

        public Macs​(MockNeat mockNeat)
    • Method Detail

      • macs

        public static Macs macs()

        Returns a Macs object that can be used to generate arbitrary physical addresses (MAC).

        Returns:
        A re-usable Macs object. The Macs class implements MockUnitString.
      • supplier

        public java.util.function.Supplier<java.lang.String> supplier()
        Description copied from interface: MockUnit
        This is the sole abstract method of the interface. Needs to be implemented every-time a MockUnit is implemented.
        Specified by:
        supplier in interface MockUnit<java.lang.String>
        Returns:
        A Supplier<T>.
      • type

        public MockUnitString type​(MACAddressFormatType type)

        This method can be used to setup the format of the MAC address.

        Parameters:
        type - The format.
        Returns:
        A new MockUnitString.