/* * TernaryHeap.java * * Version: * $Id$ * * Revisions: * $Log$ */ /** * Generic implementation of a ternary heap. Items are arranged such that * each item in heap is less than its children in the heap. * * @author */ public class TernaryHeap> { /** * Constructor of an empty heap * * @param init An empty array of the appropriate type, * large enough to hold the heap at all times */