Rhino.ObjToIntMap.GetExisting C# (CSharp) Method

GetExisting() public method

Get integer value assigned with key.
Get integer value assigned with key.
if key does not exist
public GetExisting ( object key ) : int
key object
return int
		public virtual int GetExisting(object key)
		{
			if (key == null)
			{
				key = UniqueTag.NULL_VALUE;
			}
			int index = FindIndex(key);
			if (0 <= index)
			{
				return values[index];
			}
			// Key must exist
			Kit.CodeBug();
			return 0;
		}