Object eo = e.nextElement();
Object key = NSKeyValueCodingAdditions.Utility.valueForKeyPath(eo,keyPath);
boolean isNullKey = key==null || key instanceof NSKeyValueCoding.Null;
if (!isNullKey || nullGroupingKey != null) {
if (isNullKey) key=nullGroupingKey;
NSMutableArray existingGroup=(NSMutableArray)result.objectForKey(key);
if (existingGroup==null) {
existingGroup=new NSMutableArray();
result.setObjectForKey(existingGroup,key);
}
if (valueKeyPath!=null) {