/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { IEnumerator$1_$type, IEnumerator_$type, Base, getBoxIfEnum, markType } from "igniteui-react-core/ES2015/type";
import { KeyValuePair$2 } from "igniteui-react-core/ES2015/KeyValuePair$2";
export class OrderedDictionary_Enumerator$2 extends Base {
    constructor($tKey, $tValue, a) {
        super();
        this.$tKey = null;
        this.$tValue = null;
        this.b = 0;
        this.a = null;
        this.$tKey = $tKey;
        this.$tValue = $tValue;
        this.$type = this.$type.specialize(this.$tKey, this.$tValue);
        this.b = -1;
        this.a = a;
    }
    get currentObject() {
        return getBoxIfEnum(this.$tValue, this.a.item(this.a.item1(this.b)));
    }
    get current() {
        let a = this.a.item1(this.b);
        return new KeyValuePair$2(this.$tKey, this.$tValue, 1, a, this.a.item(a));
    }
    moveNext() {
        this.b++;
        return this.b < this.a.count;
    }
    reset() {
        this.b = -1;
    }
    dispose() {
    }
}
OrderedDictionary_Enumerator$2.$t = markType(OrderedDictionary_Enumerator$2, 'OrderedDictionary_Enumerator$2', Base.$, [IEnumerator$1_$type.specialize(KeyValuePair$2.$.specialize(0, 1)), IEnumerator_$type]);
