INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

description: "Bounded data structures, with a notion of capacity"
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: bounded, storage
cluster: eiffelbase
deferred class BOUNDED [G]
inherit

FINITE [G]
end
feature -- Measurement

capacity: INTEGER
-- Number of items that may be stored
feature -- Status report

full: BOOLEAN
-- Is structure full?

resizable: BOOLEAN
-- May `capacity' be changed?
invariant

valid_count: count <= capacity
full_definition: full = (count = capacity)
end -- class BOUNDED

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES