1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
#pike 8.1 
 
inherit ADT.Heap; 
 
//! Removes and returns the item on top of the heap, 
//! which also is the smallest value in the heap. 
//! @deprecated pop 
mixed top() { return pop(); } 
 
//! Returns the number of elements in the heap. 
//! @deprecated lfun::_sizeof 
int size() { return _sizeof(); }