INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

description: "Data structures whose items may be compared ", "according to a partial order relation "
title: "EiffelBase: library of reusable components for Eiffel. ", "Based on EiffelBase library for ISE Eiffel, ", "used with permission. "
project: "EiffelBase Library"
copyright: "(c) 1986-1997 Interactive Software Engineering Inc. ", "Modifications and extensions: ", "(c) 1997 Object Tools ", "All rights reserved. Duplication and distribution prohibited", "May be used only with Visual Eiffel under terms of user ", "license "
key: comparable_struct
cluster: eiffelbase
deferred class COMPARABLE_STRUCT [G -> COMPARABLE]
inherit

BILINEAR [G]
end
feature -- Measurement

min: G
-- Minimum item
require
min_max_available

max: G
-- Maximum item
require
min_max_available

min_max_available: BOOLEAN
-- Can min and max be computed?
ensure
Result implies not empty
invariant

empty_constraint: min_max_available implies not empty
end -- class COMPARABLE_STRUCT

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES