class FMULTIMAP{KTP,ETP} < $STR


Ancestors
$STR COMPARE{_}



Public


Features
build( cursor : STR_CURSOR) : SAME .. Included as build
****
build(cursor : STR_CURSOR, start, finish : CHAR ) : SAME .. Included as build
clear : SAME .. Included as clear
copy : SAME .. Included as copy
create( str : STR ) : SAME .. Included as create
****
create(str : STR, sep : CHAR ) : SAME .. Included as create
****
create : SAME
get( .. Included as danger_multi_get
delete( .. Included as delete
delete_all( .. Included as delete_all
equals( .. Included as equals
get_all( .. Included as get_all
has_ind( .. Included as has_ind
has_pair( .. Included as has_pair
insert( .. Included as insert
insert_pair( .. Included as insert_pair
inspect:STR .. Included as inspect
**** This routine returns a string representation of the contents of self. K.Kodama
is_elt_nil( elem : ETP) : BOOL .. Included as is_key_nil
**** This predicate returns true if and only if elem is NIL.
elt_eq(first,second : ETP) : BOOL .. Included as key_eq
**** This is the standard 'less than' predicate used in sorting routines.
___The_using_class_must_specify_an_equality_predicate_routine.
elt_hash(elem : $OB) : CARD .. Included as key_hash
****
________This_routine_returns_a_hash_value_associated_with_an_element._This
___must_have_the_property_that_if_"elt_eq(first,second)"_then
___"elt_hash(first)=elt_hash(second)"._It_could_be_defined_always_to_return_0,
___but_many_routines_will_then_become_quadratic._This_uses_the_object_"id"_by
___default.___It_may_be_redefined_in_descendants.
elt_nil : ETP .. Included as key_nil
****
________This_routine_returns_the_NIL_value.___If_the_element_class_is_a
___subclass_of_$NIL_then_it_returns_nil,_otherwise_void.
n_inds : CARD .. Included as n_inds
n_targets( .. Included as n_targets
n_targets : CARD .. Included as n_targets
size : CARD .. Included as size
str( lib : LIBCHARS ) : STR .. Included as str
str(lib : LIBCHARS, sep : CHAR ) : STR .. Included as str
str : STR .. Included as str
****
__This_routine_returns_a_string_representation_of_the_contents_of_self
__in_the_default_repertoire_and_encoding.

Iters
elt! : ETP .. Included as elt!
ind! : K .. Included as ind!
pair! : TUP{KTP, ETP} .. Included as pair!
target!( .. Included as target!
target! : ETP .. Included as target!


Private

const Default_Size : CARD := 5 ; .. Included as Default_Size
const Spare_Min : CARD := 50 ; .. Included as Spare_Min
aclear .. Included as aclear
acopy(beg, num, srcbeg : CARD, src : SAME) .. Included as acopy
acopy(beg, num : CARD, src : SAME) .. Included as acopy
acopy(beg : CARD, src : SAME) .. Included as acopy
acopy(src : SAME) .. Included as acopy
aelt!(once beg : CARD) : ELT .. Included as aelt!
aelt!(once beg, once num : CARD) : ELT .. Included as aelt!
aelt!(once beg,once num : CARD,once step : INT) : ELT .. Included as aelt!
aelt! : ELT .. Included as aelt!
aget(index : CARD) : ELT .. Included as aget
aget(index : INT) : ELT .. Included as aget
aind! : CARD .. Included as aind!
allocate( .. Included as allocate
array_ptr : REFERENCE .. Included as array_ptr
aset!(val : ELT) .. Included as aset!
aset!(once beg : CARD,val : ELT) .. Included as aset!
aset!(once beg, once num : CARD, val : ELT) .. Included as aset!
aset!(once beg, once num : CARD, once step : INT,val : ELT) .. Included as aset!
aset(index : CARD, val : ELT) .. Included as aset
aset(index : INT, val:ELT) .. Included as aset
asize : CARD .. Included as asize
build(cursor : STR_CURSOR, sep : CHAR_CODE, start : CHAR, finish : CHAR ) : SAME .. Included as build
double_size : SAME .. Included as double_size
for_all(first, second : SAME) : BOOL .. Included as for_all
****
__This_private_predicate_returns_true_if_and_only_if_all_elements_of
___first_and_second_are_the_same!
get_pair( .. Included as get_pair
halve_size : SAME .. Included as halve_size
has( .. Included as has
attr hsize : CARD ; .. Included as hsize
**** Number of stored entries
attr hsize : CARD ; .. Included as hsize
**** Number of stored entries
const initially_provide_for : CARD := 1 ;
is_legal_aelts_arg(beg, num : CARD, step : INT) : BOOL .. Included as is_legal_aelts_arg
**** This predicate returns true if and only if the arguments are legal
___values_for_aelt_and_aset_iters_below.
keys! : K .. Included as keys!
const load_ratio : CARD := 4 ; .. Included as load_ratio
**** Allow at most 1/load_ratio full
delete( .. Included as multi_delete
insert( .. Included as multi_insert
multi_insert_pair( .. Included as multi_insert_pair
pair! : TUP{K,T} .. Included as multi_pair!
target! : T .. Included as multi_target!
not_too_many( .. Included as not_too_many
create( .. Included as old_create
create : SAME .. Included as old_create
pairs! : TUP{K,T} .. Included as pairs!
should_grow : BOOL .. Included as should_grow
should_shrink : BOOL .. Included as should_shrink
targets! : T .. Included as targets!
test( .. Included as test
attr total_n_targets : CARD ;
attr total_n_targets : CARD ;

The Sather Home Page