use of com.webobjects.eocontrol.EOSortOrdering in project wonder-slim by undur.
the class WODictionaryRepetition method dictionary.
public NSDictionary dictionary() {
if (_dictionary == null) {
_dictionary = (NSDictionary) _WOJExtensionsUtil.valueForBindingOrNull("dictionary", this);
if (_dictionary == null) {
_dictionary = NSDictionary.EmptyDictionary;
_keyList = NSArray.EmptyArray;
} else {
_keyList = _dictionary.allKeys();
_keyList = EOSortOrdering.sortedArrayUsingKeyOrderArray(_keyList, new NSArray<>(new EOSortOrdering("toString", EOSortOrdering.CompareAscending)));
}
}
return _dictionary;
}
use of com.webobjects.eocontrol.EOSortOrdering in project wonder-slim by undur.
the class WODictionaryRepetition method dictionary.
public NSDictionary dictionary() {
if (_dictionary == null) {
_dictionary = (NSDictionary) _WOJExtensionsUtil.valueForBindingOrNull("dictionary", this);
if (_dictionary == null) {
_dictionary = NSDictionary.EmptyDictionary;
_keyList = NSArray.EmptyArray;
} else {
_keyList = _dictionary.allKeys();
_keyList = EOSortOrdering.sortedArrayUsingKeyOrderArray(_keyList, new NSArray<>(new EOSortOrdering("toString", EOSortOrdering.CompareAscending)));
}
}
return _dictionary;
}
Aggregations