All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.leopard.burrow.lang.inum.Onum Maven / Gradle / Ivy

package io.leopard.burrow.lang.inum;

/**
 * 枚举接口(key类型自定义,value类型自定义)
 * 
 * @author Administrator
 * 
 * @param 
 * @param 
 * @param 
 */
public interface Onum {

	/**
	 * 枚举key.
	 * 
	 * @return
	 */
	KEYTYPE getKey();

	/**
	 * 枚举描述信息
	 * 
	 * @return
	 */
	VALUETYPE getDesc();

	// /**
	// * key转枚举.
	// *
	// * @param key
	// * @return
	// */
	// BEAN toEnum(KEYTYPE key);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy