Returns the label with the given key.
<P>
This is needed because the API does not contain an operation to get a label using the key directly.
@param key The key of the label to return
@return The label
766915
public Optional<Label> show(String key)
    {
        Optional<Label> ret = Optional.absent();
        Collection<Label> labels = list();
        for(Label label : labels)
        {
            if(label.getKey().equals(key))
                ret = Optional.of(label);
        }
        return ret;
    }
119235
public String getLabel() 
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(tc, "getLabel");
      SibTr.exit(tc, "getLabel", label);
    }    
    return label;
  }
38106
@Override
    public String get(String key) {
        Map<String, String> map = inheritableThreadLocal.get();
        if ((map != null) && (key != null)) {
            return map.get(key);
        } else {
            return null;
        }
    }
6705
public V get(K key) {
    Entry<V> entry = classMap.get(key);
    return entry == null ? null : entry.get();
  }
257212
@SuppressWarnings("unchecked")
    public <T> T get(String key) {
        return (T) argMap.get(key);
    }
1266545
@SuppressWarnings("rawtypes")
    public Object getField(String key)
    {
        if (this.body == null || Map.class.isAssignableFrom(this.body.getClass()) == false)
        {
            return null;
        }

        return ((Map) this.body).get(key);
    }
1334743
public String get(String key) {
        Preconditions.checkNotNull(key, "key is null");
        return values.get(key);
    }
57110
public static String get(MessageKey key) {
        return data.getProperty(key.toString(), key.toString());
    }
631130
public LabelService delete(String key)
    {
        HTTP.DELETE(String.format("/v2/labels/%s.json", encode(key)));       
        return this;
    }
992432
public final Object get(String key) {
		try {
			this.mutex.acquire();

			return this.valueMap.get(key);
		} finally {
			try {
				this.mutex.release();
			} catch (Exception ignore) {
			}
		}
	}
398537
public ImageIcon getImage( String key ) {
        ImageIcon image = imageMap.get(key);
        if (image == null) {
            image = createImage(key);
            imageMap.put(key, image);
        }
        return image;
    }
389142
@Override
    public String getString(@NonNull String key) {
        if (key == null) { throw new IllegalArgumentException("key cannot be null."); }

        final int index = indexForColumnName(key);
        return index >= 0 ? getString(index) : null;
    }
1347153
public String getProperty(final String key) {
        if (hasProperty(key)) {
            return properties.getProperty(key);
        } else {
            throw new PropertyLookupException("property not found: " + key);
        }
    }
400739
public final String getPath(final String key) {
        StringBuilder result = new StringBuilder();
        addPathTo(result);
        result.append(".");
        result.append(getPathElement(key));
        return result.toString();
    }
1037332
public V get(final K key) {
		if (map.containsKey(key)) {
			// remove from queue and add it again in FIFO queue
			queue.remove(key);
			queue.add(key);
		}
		return map.get(key);
	}
10305
public V get(Object key) {
	checkKey(key);
	
	String cs = (String)key;
	Node<V> n = lookup(cs);
	return (n == null) ? null : n.value;
    }
990057
public Label getLabelByName(String name) {
        for (Label label : labels) {
            if (name.equals(label.getName())) {
                return label;
            }
        }
        return null;
    }