note description: "Sequential 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: list, sequence access: index, cursor, membership contents: generic date: "$Date: 2017-03-23 19:18:26 +0000 (Thu, 23 Mar 2017) $" revision: "$Revision: 100033 $" deferred class interface LIST [G] feature -- Comparison is_equal (other: like Current): BOOLEAN -- Does other contain the same elements? ensure then indices_unchanged: index = old index and other.index = old other.index true_implies_same_size: Result implies count = other.count feature -- Status report after: BOOLEAN -- Is there no valid cursor position to the right of cursor? before: BOOLEAN -- Is there no valid cursor position to the left of cursor? feature -- Cursor movement forth -- Move to next position; if no next position, -- ensure that exhausted will be true. ensure then moved_forth: index = old index + 1 invariant before_definition: before = (index = 0) after_definition: after = (index = count + 1) note copyright: "Copyright (c) 1984-2017, 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 LIST
Generated by ISE EiffelStudio