Constructor SuggestWordQueue
SuggestWordQueue(Int32)
Use the DEFAULT_COMPARER
Declaration
public SuggestWordQueue(int size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size | The size of the queue |
SuggestWordQueue(Int32, IComparer<SuggestWord>)
Specify the size of the queue and the comparer to use for sorting.
Declaration
public SuggestWordQueue(int size, IComparer<SuggestWord> comparer)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size | The size |
IComparer<SuggestWord> | comparer | The comparer. |