| 59 | } |
| 60 | |
| 61 | Entry* push(Object e, MemoryPool& p) |
| 62 | { |
| 63 | if (inherited::getCount() < this->getCapacity()) |
| 64 | { |
| 65 | this->add(e); |
| 66 | return this; |
| 67 | } |
| 68 | Entry* newEntry = FB_NEW_POOL(p) Entry(e, this); |
| 69 | return newEntry; |
| 70 | } |
| 71 | |
| 72 | Object pop() |
| 73 | { |
nothing calls this directly
no test coverage detected