This site contains older material on Eiffel. For the main Eiffel page, see http://www.eiffel.com.

EiffelBase class
(HTML page generated by ISE Eiffel 4.2)

Eiffel Class
indexing
	description: "Cells containing an item";
	status: "See notice at end of class";
	names: cell;
	contents: generic;
	date: "$Date: 2007-03-30 11:10:11 -0800 (Fri, 30 Mar 2007) $";
	revision: "$Revision: 95354 $"

class CELL [G]

creation
	put

feature -- Access

	item: G;
			-- Content of cell.

feature -- Element change

	put (v: like item) is
			-- Make v the cell's item.
			-- Was declared in CELL as synonym of put and replace.
		do
			item := v
		ensure
			item_inserted: item = v
		end;

	replace (v: like item) is
			-- Make v the cell's item.
			-- Was declared in CELL as synonym of put and replace.
		do
			item := v
		ensure
			item_inserted: item = v
		end;

end -- class CELL