HeapNode(double key, V value) {
            this.index = 0;
            this.key = key;
            this.value = value;
            this.hind = null;
            try {
                hind = (HeapIndex) this.value;

            } catch (Exception ex) {
                this.hind = null;
            }
        }