Package org.jeasy.random.randomizers
Class MacAddressRandomizer
java.lang.Object
org.jeasy.random.randomizers.AbstractRandomizer<T>
org.jeasy.random.randomizers.FakerBasedRandomizer<String>
org.jeasy.random.randomizers.MacAddressRandomizer
- All Implemented Interfaces:
Randomizer<String>
A
Randomizer that generates random mac addresses.- Author:
- Michael Düsterhus
-
Field Summary
Fields inherited from class org.jeasy.random.randomizers.FakerBasedRandomizer
fakerFields inherited from class org.jeasy.random.randomizers.AbstractRandomizer
random -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newMacAddressRandomizer.MacAddressRandomizer(long seed) Create a newMacAddressRandomizer.MacAddressRandomizer(long seed, Locale locale) Create a newMacAddressRandomizer. -
Method Summary
Methods inherited from class org.jeasy.random.randomizers.AbstractRandomizer
getPredefinedValuesOf, nextDouble, toString
-
Constructor Details
-
MacAddressRandomizer
public MacAddressRandomizer()Create a newMacAddressRandomizer. -
MacAddressRandomizer
public MacAddressRandomizer(long seed) Create a newMacAddressRandomizer.- Parameters:
seed- the initial seed
-
MacAddressRandomizer
Create a newMacAddressRandomizer.- Parameters:
seed- the initial seedlocale- the locale to use
-
-
Method Details
-
getRandomValue
-