Get value {@link Integer} value
@param label target label
@return {@link Integer} value of the label. If it is not null.
968282
public Integer getValueInteger(String label) {
        PrimitiveObject o = getPrimitiveObject(VALUE, label, ObjectUtil.INTEGER, "Integer");
        if (o == null) {
            return null;
        }
        return (Integer) o.getObject();
    }
102239
public List<?> getValueList(String label) {
        PrimitiveObject o = getPrimitiveObject(VALUE, label, ObjectUtil.ARRAY, "Array");
        if (o == null) {
            return null;
        }

        return (List<?>) o.getObject();
    }
975437
public Integer getLabel(int i) {
		if (i < 0 || i >= labels.size())
			return -1;
		return labels.get(i);
	}
1016394
public void setLabel(final String label) {
        if (label != null)
            attrMixin.setAttribute(LABEL, label);
        else
            attrMixin.removeAttribute(LABEL);
    }
340334
public void setLabel(java.lang.String label) {
        getStateHelper().put(PropertyKeys.label, label);
    }
197703
public int store(String label) {
		if (StrInt.containsKey(label)) {
			return (StrInt.get(label).intValue());
		} else if (!newLabelsAllowed) {
			return KEY_DUMMY_LABEL;
		} else { // store label
			Integer intKey = new Integer(count++);
			StrInt.put(label, intKey);
			IntStr.put(intKey, label);

			return intKey.intValue();
		}
	}
244648
@Nullable
    protected String getBitFlagDescription(final int tagType, @NotNull final Object... labels)
    {
        Integer value = _directory.getInteger(tagType);

        if (value == null)
            return null;

        List<String> parts = new ArrayList<String>();

        int bitIndex = 0;
        while (labels.length > bitIndex) {
            Object labelObj = labels[bitIndex];
            if (labelObj != null) {
                boolean isBitSet = (value & 1) == 1;
                if (labelObj instanceof String[]) {
                    String[] labelPair = (String[])labelObj;
                    assert(labelPair.length == 2);
                    parts.add(labelPair[isBitSet ? 1 : 0]);
                } else if (isBitSet && labelObj instanceof String) {
                    parts.add((String)labelObj);
                }
            }
            value >>= 1;
            bitIndex++;
        }

        return StringUtil.join(parts, ", ");
    }
808653
public GrLabel getLabel(String labelName) {
		for (GrLabel lab : getLabels()) {
			if (lab.getName().equals(labelName))
				return lab;
		}
		return null;
	}
49886
public Listitem findMatchingItem(String label) {
        for (Listitem item : getChildren(Listitem.class)) {
            if (label.equalsIgnoreCase(item.getLabel())) {
                return item;
            }
        }
        
        return null;
    }
1271515
public Double getGroupingDouble(String label) {
        PrimitiveObject o = getPrimitiveObject(KEY, label, ObjectUtil.DOUBLE, "Double");
        if (o == null) {
            return null;
        }
        return (Double) o.getObject();
    }
110225
public Float getGroupingFloat(String label) {
        PrimitiveObject o = getPrimitiveObject(KEY, label, ObjectUtil.FLOAT, "Float");
        if (o == null) {
            return null;
        }
        return (Float) o.getObject();
    }
11096
public Long getValueLong(String label) {
        PrimitiveObject o = getPrimitiveObject(VALUE, label, ObjectUtil.LONG, "Long");
        if (o == null) {
            return null;
        }
        return (Long) o.getObject();
    }
567256
@CheckForNull
    public DockerSlaveTemplate getTemplate(Label label) {
        List<DockerSlaveTemplate> labelTemplates = getTemplates(label);
        if (!labelTemplates.isEmpty()) {
            return labelTemplates.get(0);
        }

        return null;
    }
1091422
public ByteWritable getValueByteWritable(String label) {
        HadoopObject o = getHadoopObject(VALUE, label, ObjectUtil.BYTE, "Byte");
        if (o == null) {
            return null;
        }
        return (ByteWritable) o.getObject();
    }
1263659
private String getLabel(int i)
	{
		for (String label : labelMap.keySet())
		{
			if (labelMap.get(label) == i) return label;
		}
		return null;
	}
754658
private static boolean matchLabel(Node target, String label) {
    if (label == null) {
      return true;
    }
    while (target.isLabel()) {
      if (target.getFirstChild().getString().equals(label)) {
        return true;
      }
      target = target.getParent();
    }
    return false;
  }
722350
public IntWritable getValueIntWritable(String label) {
        HadoopObject o = getHadoopObject(VALUE, label, ObjectUtil.INTEGER, "Integer");
        if (o == null) {
            return null;
        }
        return (IntWritable) o.getObject();
    }