Package ru.ispras.microtesk.mmu.settings
Class IntegerValuesSettings
- java.lang.Object
-
- ru.ispras.microtesk.settings.AbstractSettings
-
- ru.ispras.microtesk.mmu.settings.IntegerValuesSettings
-
public final class IntegerValuesSettings extends AbstractSettings
IntegerValuesSettings
describes which cache policies to be used in tests.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG
-
Constructor Summary
Constructors Constructor Description IntegerValuesSettings(java.lang.String name, java.math.BigInteger min, java.math.BigInteger max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(AbstractSettings section)
Default implementation (to be overridden in subclasses).java.util.Collection<AbstractSettings>
get(java.lang.String tag)
Default implementation (to be overridden in subclasses).java.util.Set<java.math.BigInteger>
getExcludeValues()
java.util.Set<java.math.BigInteger>
getIncludeValues()
java.math.BigInteger
getMax()
java.math.BigInteger
getMin()
java.lang.String
getName()
Returns the name of the settings (to be overridden in subclasses).java.util.Set<java.math.BigInteger>
getPossibleValues()
java.util.Set<java.math.BigInteger>
getValues()
java.lang.String
toString()
-
Methods inherited from class ru.ispras.microtesk.settings.AbstractSettings
getSingle, getSingle, getTag
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:AbstractSettings
Returns the name of the settings (to be overridden in subclasses).- Overrides:
getName
in classAbstractSettings
- Returns:
- the settings name.
-
getMin
public java.math.BigInteger getMin()
-
getMax
public java.math.BigInteger getMax()
-
getPossibleValues
public java.util.Set<java.math.BigInteger> getPossibleValues()
-
getIncludeValues
public java.util.Set<java.math.BigInteger> getIncludeValues()
-
getExcludeValues
public java.util.Set<java.math.BigInteger> getExcludeValues()
-
getValues
public java.util.Set<java.math.BigInteger> getValues()
-
get
public java.util.Collection<AbstractSettings> get(java.lang.String tag)
Description copied from class:AbstractSettings
Default implementation (to be overridden in subclasses).- Overrides:
get
in classAbstractSettings
- Parameters:
tag
- the tag of the sections to be returned.- Returns:
- Sections that correspond to the specified section tag.
-
add
public void add(AbstractSettings section)
Description copied from class:AbstractSettings
Default implementation (to be overridden in subclasses).- Overrides:
add
in classAbstractSettings
- Parameters:
section
- the settings's section to be added.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractSettings
-
-