public static short[] getAllKnownRecordSIDs() {if (_allKnownRecordSIDs == null) {short[] results = new short[ _recordCreatorsById.size() ];int i = 0;for (Integer sid : _recordCreatorsById.keySet()) {results[i++] = sid.shortValue();}Arrays.sort(results);_allKnownRecordSIDs = results;}return _allKnownRecordSIDs.clone();}
public static short[] GetAllKnownRecordSIDs(){if (_allKnownRecordSIDs == null){short[] results = new short[_recordCreatorsById.Count];int i = 0;foreach (KeyValuePair<short, I_RecordCreator> kv in _recordCreatorsById){results[i++] = kv.Key;}Array.Sort(results);_allKnownRecordSIDs = results;}return (short[])_allKnownRecordSIDs.Clone();}