AIMA.Core.Search.Framework.Metrics.keySet C# (CSharp) Method

keySet() public method

public keySet ( ) : HashSet
return HashSet
        public HashSet<String> keySet()
        {
            return new HashSet<string>(hash.Keys);
        }
    }

Usage Example

Example #1
0
        public Dictionary <string, string> getInstrumentation()
        {
            Dictionary <string, string> retVal = new Dictionary <string, string>();

            foreach (string key in  searchMetrics.keySet())
            {
                System.String value = searchMetrics.get(key);
                retVal.Add(key, value);
            }
            return(retVal);
        }