public ForEachIterator(CharList list) { _tValues = list._values; _tSize = list._size; _index = 0; _v = default(char); }
/** 获取排序好的List */ public CharList getSortedKeyList() { CharList list = new CharList(size()); if (_size == 0) { return(list); } char[] values = list.getValues(); int j = 0; char free = _freeValue; char[] keys = _set; for (int i = (keys.Length) - 1; i >= 0; --i) { char key; if ((key = keys[i]) != free) { values[j++] = key; } } list.justSetSize(size()); list.sort(); return(list); }