public static <V> V findInMap(Map<? extends IKey, V> map, IKey name, boolean caseSensitive, boolean allowAbbreviations)
	{
		if (allowAbbreviations)
		{
			return findAbbreviatedValue(map, name, caseSensitive);
		}
		else
		{
			if (caseSensitive)
			{
				return map.get(name);
			}
			else
			{
				for (IKey c : map.keySet())
				{
					if (c.getName().equalsIgnoreCase(name.getName()))
					{
						return map.get(c);
					}
				}
			}
		}
		return null;
	}