String coll[] = new String[childCollections.size()]; int j = 0; int p; for ( Iterator i = childCollections.keySet().iterator(); i.hasNext(); j++ ) { coll[j] = (String) i.next(); if ( ( p = coll[j].lastIndexOf( '/' ) ) > -1 ) coll[j] = coll[j].substring( p + 1 );
if (childCollections == null) readCollection(); String coll[] = new String[childCollections.size()]; int j = 0; int p; for (Iterator i = childCollections.keySet().iterator(); i.hasNext(); j++) { coll[j] = (String) i.next(); if ((p = coll[j].lastIndexOf('/')) > -1) coll[j] = coll[j].substring(p + 1);
    public String[] listChildCollections() throws XMLDBException {        String coll[] = new String[childCollections.size()];        int j = 0;        int p;        for ( Iterator i = childCollections.keySet().iterator();            i.hasNext(); j++ ) {            coll[j] = (String) i.next();            if ( ( p = coll[j].lastIndexOf( '/' ) ) > -1 )                coll[j] = coll[j].substring( p + 1 );        }        return coll;    }