接口 Cat.Type
- 所有超级接口:
Comparable<Cat.Type>
,Keyed
,OldEnum<Cat.Type>
- 封闭接口:
- Cat
代表了各种猫的品种.
Represents the various different cat types there are.
-
字段详细资料
-
TABBY
-
BLACK
-
RED
-
SIAMESE
-
BRITISH_SHORTHAIR
-
CALICO
-
PERSIAN
-
RAGDOLL
-
WHITE
-
JELLIE
-
ALL_BLACK
-
-
方法详细资料
-
valueOf
已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- 参数:
name
- of the cat type.- 返回:
- the cat type with the given name.
-
values
已过时。useIterable.iterator()
.- 返回:
- an array of all known cat types.
-
Registry.get(NamespacedKey)
instead.