2024-05-11 17:47:53 +04:00
|
|
|
package DifferentRollers;
|
|
|
|
|
2024-05-11 17:38:33 +04:00
|
|
|
public enum RollersCount {
|
|
|
|
OneRoller(1),
|
|
|
|
TwoRollers(2),
|
|
|
|
ThreeRollers(3);
|
|
|
|
private int numOfRollers;
|
|
|
|
RollersCount(int numOfRollers){
|
|
|
|
this.numOfRollers = numOfRollers;
|
|
|
|
}
|
|
|
|
public int getNumOfRollers(){
|
|
|
|
return numOfRollers;
|
|
|
|
}
|
|
|
|
}
|