note description: "[ Sequential, dynamically modifiable lists, without commitment to a particular representation ]" library: "Free implementation of ELKS library" legal: "See notice at end of class." status: "See notice at end of class." names: dynamic_list, sequence access: index, cursor, membership contents: generic date: "$Date: 2018-12-15 18:06:16 +0000 (Sat, 15 Dec 2018) $" revision: "$Revision: 102608 $" deferred class interface DYNAMIC_LIST [G] feature -- Element change put_left (v: like item) -- Add v to the left of cursor position. -- Do not move cursor. put_right (v: like item) -- Add v to the right of cursor position. -- Do not move cursor. merge_left (other: like Current) -- Merge other into current structure before cursor -- position. Do not move cursor. Empty other. merge_right (other: like Current) -- Merge other into current structure after cursor -- position. Do not move cursor. Empty other. feature -- Removal remove -- Remove current item. -- Move cursor to right neighbor -- (or after if no right neighbor). ensure then after_when_empty: is_empty implies after remove_left -- Remove item to the left of cursor position. -- Do not move cursor. remove_right -- Remove item to the right of cursor position. -- Do not move cursor. wipe_out -- Remove all items. ensure then is_before: before note 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 DYNAMIC_LIST
Generated by ISE EiffelStudio