/*
 * Decompiled with CFR 0_110.
 * 
 * Could not load the following classes:
 *  java.lang.Object
 *  java.util.List
 *  org.w3c.dom.Node
 *  org.w3c.dom.NodeList
 */
package org.dom4j.dom;

import java.util.List;
import org.dom4j.Node;
import org.dom4j.dom.DOMNodeHelper;
import org.w3c.dom.NodeList;

class DOMNodeHelper$1
implements NodeList {
    private final List val$list;

    DOMNodeHelper$1(List list) {
        this.val$list = list;
    }

    public int getLength() {
        return this.val$list.size();
    }

    public org.w3c.dom.Node item(int n) {
        if (n >= this.getLength()) {
            return null;
        }
        return DOMNodeHelper.asDOMNode((Node)this.val$list.get(n));
    }
}

