Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:
indexing description: "Unbounded queues implemented as linked lists" status: "See notice at end of class" names: linked_queue, dispenser, linked_list representation: linked access: fixed, fifo, membership contents: generic date: "$Date: 2001-11-16 20:32:23 +0000 (Fri, 16 Nov 2001) $" revision: "$Revision: 51435 $" class interface LINKED_QUEUE [G] create make feature -- Initialization make -- Create linked queue. feature -- Access item: G -- Oldest item ensure then last_element_if_not_empty: not is_empty implies (active = last_element) feature -- Element change put (v: G) -- Add v as newest item. -- Was declared in LINKED_QUEUE as synonym of extend and force. ensure then single_item_constraint: (old is_empty) implies (item = v) extend (v: G) -- Add v as newest item. -- Was declared in LINKED_QUEUE as synonym of put and force. ensure then single_item_constraint: (old is_empty) implies (item = v) force (v: G) -- Add v as newest item. -- Was declared in LINKED_QUEUE as synonym of put and extend. ensure then single_item_constraint: (old is_empty) implies (item = v) feature -- Conversion linear_representation: ARRAYED_LIST [G] -- Representation as a linear structure -- (order is same as original order of insertion) feature -- Duplication duplicate (n: INTEGER): like Current -- New queue containing the n oldest items in current queue. -- If n is greater than count, identical to current queue. invariant is_always_after: not is_empty implies after 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 LINKED_QUEUE
Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:

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