Class SRVMWorldSetup.Builder
- java.lang.Object
-
- org.spectrumauctions.sats.core.model.srvm.SRVMWorldSetup.Builder
-
- Enclosing class:
- SRVMWorldSetup
public static class SRVMWorldSetup.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBAND_NAME_AThe name used to represent the paired 800MHz bandstatic java.lang.StringBAND_NAME_BThe name used to represent the paired 2.6GHz bandstatic java.lang.StringBAND_NAME_CThe name used to represent the unpaired 2.6GHz bandjava.util.Map<java.lang.String,IntegerInterval>bandDefinitions
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SRVMWorldSetupbuild()java.util.Map<java.lang.String,IntegerInterval>getBandDefinitions()voidputBand(java.lang.String bandName, IntegerInterval numberOfLicenses)Define a new band to be generated as well as the number of licenses (drawn from interval, seeSRVMWorldSetup.defineBands(RNGSupplier))voidremoveBand(java.lang.String bandName)
-
-
-
Field Detail
-
BAND_NAME_A
public static final java.lang.String BAND_NAME_A
The name used to represent the paired 800MHz band- See Also:
- Constant Field Values
-
BAND_NAME_B
public static final java.lang.String BAND_NAME_B
The name used to represent the paired 2.6GHz band- See Also:
- Constant Field Values
-
BAND_NAME_C
public static final java.lang.String BAND_NAME_C
The name used to represent the unpaired 2.6GHz band- See Also:
- Constant Field Values
-
bandDefinitions
public java.util.Map<java.lang.String,IntegerInterval> bandDefinitions
-
-
Method Detail
-
putBand
public void putBand(java.lang.String bandName, IntegerInterval numberOfLicenses)Define a new band to be generated as well as the number of licenses (drawn from interval, seeSRVMWorldSetup.defineBands(RNGSupplier))- Parameters:
bandName- the name of the bandnumberOfLicenses- the integer interval for the number of licenses in the band
-
getBandDefinitions
public java.util.Map<java.lang.String,IntegerInterval> getBandDefinitions()
-
removeBand
public void removeBand(java.lang.String bandName)
-
build
public SRVMWorldSetup build()
-
-