Lines Matching refs:value
45 private int value;
48 * An invalid Variablity value.
82 return value;
86 * Maps an integer value its corresponding Variability attribute.
87 * If the integer value does not have a corresponding Variability enum
88 * value, the {@link Variability#INVALID} is returned
90 * @param value an integer representation of a Variability attribute
92 * <code>value</code> or {@link Variability#INVALID}
95 public static Variability toVariability(int value) {
97 if (value < 0 || value >= map.length || map[value] == null) {
101 return map[value];
104 private Variability(String name, int value) {
106 this.value = value;
107 map[value]=this;