30 lines
918 B
Java
30 lines
918 B
Java
package love.distributedrebirth.bassboonyd;
|
||
|
||
import love.distributedrebirth.bassboonyd.clazz.BãßBȍőnAuthor注;
|
||
import love.distributedrebirth.bassboonyd.coffin.BãßBȍőnCoffinNail;
|
||
|
||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||
public interface DefaultEnumBaseʸᴰ<T, K extends BãßBȍőnCoffinNail> extends DefaultBãßBȍőnʸᴰ<T, K> {
|
||
|
||
// Bȍőn prefix is for set instance enum methods (called DefaultEnumSetʸᴰ)
|
||
// Bãß prefix is for single instance enum methods (called DefaultEnumInstanceʸᴰ)
|
||
|
||
int ordinal();
|
||
|
||
String name();
|
||
|
||
default String BȍőnNaam() {
|
||
return name();
|
||
}
|
||
|
||
@SuppressWarnings("unchecked")
|
||
default T[] BãßInstances() {
|
||
try {
|
||
Object result = getClass().getMethod(Bãß.Cỗᶇṧⱦᶏꬼȶʂ.STR_VALUES).invoke(null);
|
||
return (T[]) result;
|
||
} catch (Exception e) {
|
||
throw new RuntimeException(e);
|
||
}
|
||
}
|
||
}
|