Exemplo n.º 1
0
Arquivo: 4.cs Projeto: qifanyyy/CLCDSA
 public PriorityQueue()
 {
     list     = new T[1024];
     Count    = 0;
     Comparer = System.Collections.Generic.Comparer <T> .Default;
 }
Exemplo n.º 2
0
 public CompatibleComparer(System.Collections.Generic.Comparer <T> comparer)
 {
     this.comparer = comparer;
 }
Exemplo n.º 3
0
 public BTreeAlgorithm(System.Collections.Generic.Comparer <TKey> Comparer)
 {
     this.Comparer = Comparer;
 }
Exemplo n.º 4
0
 public NotifyingSelectionSet(System.Collections.Generic.Comparer <T> comparer)
     : base((SceneViewModel)null, (ISelectionSetNamingHelper) new NotifyingSelectionSet <T> .NullNamingHelper(), (SelectionSet <T, OrderedList <T> > .IStorageProvider) new BasicSelectionSetStorageProvider <T>((IComparer <T>)comparer))
 {
 }