note description: "[ Sequential, one-way linked lists that call an action sequence when an item is removed or added. ]" legal: "See notice at end of class." status: "See notice at end of class." keywords: "event, action, linked, list" date: "$Date: 2018-11-14 15:15:17 +0000 (Wed, 14 Nov 2018) $" revision: "$Revision: 102463 $" class interface ACTIVE_LIST [G] create default_create create {ACTIVE_LIST} make_filled feature -- Initialization make_filled (n: INTEGER_32) -- Allocate list with n items. -- (n may be zero for empty list.) -- This list will be full. feature -- Access add_actions: ACTION_SEQUENCE [like item] -- Actions performed when an item has just been added. remove_actions: ACTION_SEQUENCE [like item] -- Actions performed when an item has just been removed. feature -- Miscellaneous on_item_added_at (an_item: like item; item_index: INTEGER_32) -- an_item has just been added at index item_index. on_item_removed_at (an_item: like item; item_index: INTEGER_32) -- an_item has just been removed at index item_index. invariant add_actions_not_void: add_actions /= Void remove_actions_not_void: remove_actions /= Void note library: "EiffelBase: Library of reusable components for Eiffel." copyright: "Copyright (c) 1984-2018, 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 ACTIVE_LIST
Generated by ISE EiffelStudio