JCDT/JCDT_Lib/internal/util/set.h
inline Value* Image(Key* key)
    {
        assert(key);

        // Unsigned math prevents negative indices.
        unsigned k = key -> HashCode() % hash_size;
        for (Element* element = base[k]; element; element = element -> next)
        {
            if (element -> key == key)
                return element -> value;
        }
        return NULL;
    }
//
// Has key been mapped to an image, yet? If so, return the image.
//
Has key been mapped to an image, yet. If so, return the image.
Has key been mapped to an image yet . If so return the image .
inline Value* Image(Key* key)
    {
        assert(key);
        unsigned k = key -> HashCode() % hash_size;
        for (Element* element = base[k]; element; element = element -> next)
        {
            if (element -> key == key)
                return element -> value;
        }
        return NULL;
    }
inline Value * Image ( Key * key ) { assert ( key ) ; unsigned k = key -> HashCode ( ) % hash_size ; for ( Element * element = base [ k ] ; element ; element = element -> next ) { if ( element -> key == key ) return element -> value ; } return NULL ; }
Has key been mapped to an image, yet?
Has key been mapped to an image yet?
// Unsigned math prevents negative indices.