private static ArrayList getValueList(String s, Map map)
        throws NoSuchPredicateException
    {
        ArrayList arraylist;
        if(map.size() > 0 && map.containsKey(s))
        {
            Object obj = map.get(s);
            if(obj instanceof String)
            {
                if(obj != null)
                {
                    arraylist = createValueList(s, map);
                    arraylist.add((String)obj);
                } else
                {
                    throw new DeveloperError("Null String found as value in predicates!");
                }
            } else
            if(obj instanceof ArrayList)
            {
                if(obj != null)
                    arraylist = (ArrayList)obj;
                else
                    throw new DeveloperError("Null ArrayList found as value in predicates!");
            } else
            {
                throw new DeveloperError("Something other than a String or ArrayList found in predicates!");
            }
        } else
        {
            throw new NoSuchPredicateException(s);
        }
        return arraylist;
    }