src/Hash.h
changeset 3 8e3ae153e2c9
parent 1 6cbad782d16a
     1.1 --- a/src/Hash.h	Sun Sep 20 20:39:24 2009 -0700
     1.2 +++ b/src/Hash.h	Thu Sep 24 10:28:50 2009 -0700
     1.3 @@ -38,8 +38,8 @@
     1.4          /** Sets the given value for the given key, replacing any existing value. */
     1.5          void put(Key, Value);
     1.6          
     1.7 -        /** Removes the value with the given key. */
     1.8 -        bool remove(Key);
     1.9 +        /** Removes the value with the given key. Returns the former value, or NULL if not found. */
    1.10 +        Value remove(Key);
    1.11          
    1.12          /** Removes all values. */
    1.13          void removeAll();