src/hotspot/share/libadt/set.hpp
changeset 52436 2090b60c5e26
parent 52434 44f34d2c3243
child 53108 e90315ae8aa9
equal deleted inserted replaced
52435:eac000022f61 52436:2090b60c5e26
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   118   // DO NOT CONSTRUCT A Set.  THIS IS AN ABSTRACT CLASS, FOR INHERITENCE ONLY
   118   // DO NOT CONSTRUCT A Set.  THIS IS AN ABSTRACT CLASS, FOR INHERITENCE ONLY
   119   Set(Arena *arena) : _set_arena(arena) {};
   119   Set(Arena *arena) : _set_arena(arena) {};
   120 
   120 
   121   // Creates a new set from an existing set
   121   // Creates a new set from an existing set
   122   // DO NOT CONSTRUCT A Set.  THIS IS AN ABSTRACT CLASS, FOR INHERITENCE ONLY
   122   // DO NOT CONSTRUCT A Set.  THIS IS AN ABSTRACT CLASS, FOR INHERITENCE ONLY
   123   Set(const Set &s) : ResourceObj(s) {};
   123   Set(const Set &) {};
   124 
   124 
   125   // Set assignment; deep-copy guts
   125   // Set assignment; deep-copy guts
   126   virtual Set &operator =(const Set &s)=0;
   126   virtual Set &operator =(const Set &s)=0;
   127   virtual Set &clone(void) const=0;
   127   virtual Set &clone(void) const=0;
   128 
   128