Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:
indexing description: "[ Subsets that are traversable linearly without commitment to a concrete implementation. ]" status: "See notice at end of class" names: linear_subset, subset, set access: membership contents: generic date: "$Date: 2001-11-16 20:32:23 +0000 (Fri, 16 Nov 2001) $" revision: "$Revision: 51435 $" deferred class interface LINEAR_SUBSET [G] feature -- Access index: INTEGER -- Current index feature -- Status report before: BOOLEAN -- Is cursor at left from first item? islast: BOOLEAN -- Is cursor at last item? valid_index (n: INTEGER): BOOLEAN -- Is n a valid index? ensure index_valid: 0 <= n and n <= count + 1 feature -- Cursor movement go_i_th (i: INTEGER) -- Move cursor to i-th item. require valid_index: valid_index (i) ensure cursor_moved: index = i feature -- Element change put_left (v: G) -- Insert v before the cursor. require item_exists: v /= void not_before: not before ensure cursor_position_unchanged: index = old index + 1 move_item (v: G) -- Move v to the left of cursor. require item_exists: v /= void item_in_set: has (v) invariant before_definition: before = (index = 0) indexing library: "[ EiffelBase: Library of reusable components for Eiffel. ]" status: "[ Copyright 1986-2001 Interactive Software Engineering (ISE). For ISE customers the original versions are an ISE product covered by the ISE Eiffel license and support agreements. ]" license: "[ EiffelBase may now be used by anyone as FREE SOFTWARE to develop any product, public-domain or commercial, without payment to ISE, under the terms of the ISE Free Eiffel Library License (IFELL) at http://eiffel.com/products/base/license.html. ]" source: "[ Interactive Software Engineering Inc. ISE Building 360 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Electronic mail <info@eiffel.com> Customer support http://support.eiffel.com ]" info: "[ For latest info see award-winning pages: http://eiffel.com ]" end -- class LINEAR_SUBSET
Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:

-- Generated by ISE Eiffel --
For more details: www.eiffel.com