use of org.drools.core.util.ObjectHashMap.ObjectEntry in project drools by kiegroup.
the class ObjectHashSet method toArray.
public Object[] toArray(Object[] objects) {
Iterator it = iterator();
int i = 0;
for (ObjectEntry entry = (ObjectEntry) it.next(); entry != null; entry = (ObjectEntry) it.next()) {
objects[i++] = entry.getValue();
}
return objects;
}
Aggregations