FileDocCategorySizeDatePackage
NodeSet.javaAPI DocAndroid 1.5 API733Wed May 06 22:41:04 BST 2009java.util.prefs

NodeSet

public class NodeSet extends Object implements NodeList
since
Android 1.0

Fields Summary
ArrayList
list
Constructors Summary
public NodeSet(Iterator nodes)

    
       
        while(nodes.hasNext()) {
            list.add(nodes.next());
        }
    
Methods Summary
public intgetLength()

        return list.size();
    
public org.w3c.dom.Nodeitem(int index)

        Node result = null;
        try {
            result = list.get(index);
        } catch(IndexOutOfBoundsException ioobe) {
            // TODO log this event?
            return null;
        }
        
        return result;