2022-09-25 19:20:16 +04:00
|
|
|
public enum RollersCount {
|
2022-09-25 16:54:39 +04:00
|
|
|
Four,
|
|
|
|
Five,
|
2022-11-20 22:02:02 +04:00
|
|
|
Six;
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
return switch (this) {
|
|
|
|
case Four -> 4;
|
|
|
|
case Five -> 5;
|
|
|
|
case Six -> 6;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return Integer.toString(getValue());
|
|
|
|
}
|
2022-09-25 16:54:39 +04:00
|
|
|
}
|