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

com.nativelibs4java.util.EnumValue Maven / Gradle / Ivy

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.nativelibs4java.util;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation that defines the integer value for a Java enum item
 * @author ochafik
 */
@Target({ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface EnumValue {
	/**
	 * Integral representation of the enum item
	 */
	long value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy