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