implement set(); minor tweaks elsewhere

This commit is contained in:
Joel Dice 2007-06-08 08:23:04 -06:00
parent 26bfa24c16
commit 86b7a75977
2 changed files with 257 additions and 242 deletions

View File

@ -1,6 +1,8 @@
#ifndef HEAP_H #ifndef HEAP_H
#define HEAP_H #define HEAP_H
#include "system.h"
class Heap { class Heap {
public: public:
enum CollectionType { enum CollectionType {
@ -22,6 +24,7 @@ class Heap {
virtual ~Heap() { } virtual ~Heap() { }
virtual void collect(CollectionType type, Iterator* it) = 0; virtual void collect(CollectionType type, Iterator* it) = 0;
virtual void check(void** p, System::Monitor* lock) = 0;
}; };
#endif//HEAP_H #endif//HEAP_H

File diff suppressed because it is too large Load Diff