/* Sun-$Revision: 23.4 $ */
/* Copyright 1992-9 Sun Microsystems, Inc. and Stanford University.
See the LICENSE file for license information. */
# pragma interface
struct mapOopClass: oopsOopClass {
// constructor
friend mapOop as_mapOop(void* m) { return (mapOop) as_oopsOop(m); }
// accessors
Map* addr() { return (Map*) oopsOopClass::addr(); }
// copying operations
mapOop copy(fint size, bool mustAllocate= true, oop genObj= NULL) {
return mapOop(oopsOopClass::copy(size, mustAllocate, genObj)); }
mapOop grow(fint size, fint delta, bool mustAllocate= true) {
return mapOop(oopsOopClass::grow(size, delta, mustAllocate)); }
mapOop shrink(fint size, fint delta, bool mustAllocate= true) {
return mapOop(oopsOopClass::shrink(size, delta, mustAllocate)); }
mapOop insert(fint size, fint change_point, fint delta,
bool mustAllocate= true) {
return mapOop(oopsOopClass::insert(size, change_point,
delta, mustAllocate)); }
mapOop remove(fint size, fint change_point, fint delta,
bool mustAllocate= true) {
return mapOop(oopsOopClass::remove(size, change_point,
delta, mustAllocate)); }
// conversion/recompilation support: equal() is true if the maps are
// identical or both maps have been copied from the same block prototype
// map
bool equal(mapOop other);
};