You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
386 B
20 lines
386 B
package com.fr.plugin.third.party.jsdibjj; |
|
|
|
/** |
|
* @author fr.open |
|
* @version 10.0 |
|
* Created by fr.open on 2019-09-05 |
|
*/ |
|
public enum PieType { |
|
PIE, |
|
RING; |
|
|
|
public static PieType parseInt(int index) { |
|
for (PieType type : PieType.values()) { |
|
if (type.ordinal() == index) { |
|
return type; |
|
} |
|
} |
|
return PIE; |
|
} |
|
}
|
|
|