Esempio n. 1
0
 internal static DictNode dictInsert(Dict dict, System.Object key)
 {
     return(dictInsertBefore(dict, dict.head, key));
 }
Esempio n. 2
0
 internal static void  dictDeleteDict(Dict dict)
 {
     dict.head  = null;
     dict.frame = null;
     dict.leq   = null;
 }
Esempio n. 3
0
 internal static DictNode dictMax(Dict aDict)
 {
     return(aDict.head.prev);
 }
Esempio n. 4
0
 internal static void  dictDelete(Dict dict, DictNode node)
 {
     node.next.prev = node.prev;
     node.prev.next = node.next;
 }
Esempio n. 5
0
 internal static DictNode dictMin(Dict aDict)
 {
     return(aDict.head.next);
 }