File : bc-containers-collections-ordered.ads


-- Copyright (C) 1994-1999 Grady Booch and Simon Wright.
-- All Rights Reserved.
--
--      This program is free software; you can redistribute it
--      and/or modify it under the terms of the Ada Community
--      License which comes with this Library.
--
--      This program is distributed in the hope that it will be
--      useful, but WITHOUT ANY WARRANTY; without even the implied
--      warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
--      PURPOSE. See the Ada Community License for more details.
--      You should have received a copy of the Ada Community
--      License with this library, in the file named "Ada Community
--      License" or "ACL". If not, contact the author of this library
--      for a copy.
--

-- $Id: bc-containers-collections-ordered.ads,v 1.1.2.1 1999/06/20 17:31:21 simon Exp $

generic
  with function "<" (L, R : Item) return Boolean is <>;
package BC.Containers.Collections.Ordered is

  type Ordered_Collection is abstract new Collection with private;

  -- An ordered collection denotes a sorted indexed collection of
  -- items, drawn from some well-defined universe. An ordered
  -- collection may contain duplicate items; it owns a copy of each
  -- item.

private

  type Ordered_Collection is abstract new Collection with null record;

end BC.Containers.Collections.Ordered;