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