note
	description: "Sets whose items may be compared according to a total order relation"
	library: "Free implementation of ELKS library"
	legal: "See notice at end of class."
	status: "See notice at end of class."
	names: comparable_set, comparable_struct
	access: membership, min, max
	contents: generic
	date: "$Date: 2019-07-05 15:26:16 +0000 (Fri, 05 Jul 2019) $"
	revision: "$Revision: 103325 $"

deferred class 
	COMPARABLE_SET [G -> COMPARABLE]

inherit
	SUBSET [G]
		undefine
			disjoint,
			symdif
		end

	COMPARABLE_STRUCT [G]
		rename
			has as has alias "",
			min as cs_min,
			max as cs_max
		export
			{NONE} all
		undefine
			changeable_comparison_criterion
		end

feature -- Measurement

	min: G
			-- Minimum item
		require
			not_empty: not is_empty
		do
			Result := cs_min
		end

	max: G
			-- Maximum item
		require
			not_empty: not is_empty
		do
			Result := cs_max
		end
	
note
	copyright: "Copyright (c) 1984-2019, 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 COMPARABLE_SET

Generated by ISE EiffelStudio