Iterator<Map.Entry<String, Object>> i = narrowLocal(filter);
ArrayList<bind> resBinds = new ArrayList<bind>(directory.size());
while (i.hasNext()) {
Map.Entry<String, Object> e = i.next();
if (e.getValue() instanceof org.omg.CORBA.Object)
resBinds.add(new bind(e.getKey(), (org.omg.CORBA.Object) e.getValue()));
}
binds.value = (bind[]) resBinds.toArray(new bind[resBinds.size()]);
}