note description: "Containers whose items are accessible through keys" library: "Free implementation of ELKS library" legal: "See notice at end of class." status: "See notice at end of class." names: table, access access: key, membership contents: generic date: "$Date: 2012-05-24 04:13:10 +0000 (Thu, 24 May 2012) $" revision: "$Revision: 91981 $" deferred class interface TABLE [G, H] feature -- Access item alias "[]" (k: H): G assign force -- Entry of key k. -- Was declared in TABLE as synonym of at. require valid_key: valid_key (k) at alias "@" (k: H): G assign force -- Entry of key k. -- Was declared in TABLE as synonym of item. require valid_key: valid_key (k) feature -- Status report valid_key (k: H): BOOLEAN -- Is k a valid key? feature -- Element change put (v: G; k: H) -- Associate value v with key k. require valid_key: valid_key (k) force (v: G; k: H) -- Associate value v with key k. require valid_key: valid_key (k) ensure inserted: item (k) = v feature -- Inapplicable bag_put (v: G) -- Ensure that structure includes v. note copyright: "Copyright (c) 1984-2012, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class TABLE
Generated by ISE EiffelStudio