public class PossibleConfiguration extends Object
hasValues()
returns
true
a valid configuration is available and the error text is empty. If the method hasValues()
returns false
then the error text is filled with a message that should be presented to the user and all
values are set to 0
.Constructor and Description |
---|
PossibleConfiguration(int blockSize,
int create,
int shortLifetime,
int mediumLifetime,
int longLifetime,
double mediumProbability,
double longProbability) |
PossibleConfiguration(String message) |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize() |
int |
getCreate() |
int |
getLongLifetime() |
double |
getLongProbability() |
int |
getMediumLifetime() |
double |
getMediumProbability() |
String |
getMessage() |
int |
getShortLifetime() |
boolean |
hasValues() |
public PossibleConfiguration(int blockSize, int create, int shortLifetime, int mediumLifetime, int longLifetime, double mediumProbability, double longProbability)
public PossibleConfiguration(String message)
public boolean hasValues()
public int getBlockSize()
public int getCreate()
public int getShortLifetime()
public int getMediumLifetime()
public int getLongLifetime()
public double getMediumProbability()
public double getLongProbability()
public String getMessage()
Copyright © 2025. All rights reserved.