Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Support class used to handle Hashtable addition, which does a check first to make sure the added item is unique in the hash. More...
Static Public Member Functions | |
static void | Add (System.Collections.Hashtable hashtable, System.Object item) |
static void | AddIfNotContains (System.Collections.Hashtable hashtable, System.Object item) |
static void | AddIfNotContains (System.Collections.ArrayList hashtable, System.Object item) |
static void | AddAll (System.Collections.Hashtable hashtable, System.Collections.ICollection items) |
static void | AddAllIfNotContains (System.Collections.Hashtable hashtable, System.Collections.IList items) |
static void | AddAllIfNotContains (System.Collections.Hashtable hashtable, System.Collections.ICollection items) |
static void | AddAllIfNotContains (System.Collections.Generic.IDictionary< string, string > hashtable, System.Collections.Generic.ICollection< string > items) |
static void | AddAll (System.Collections.Generic.IDictionary< string, string > hashtable, System.Collections.Generic.ICollection< string > items) |
static bool | Contains (System.Collections.Generic.ICollection< string > col, string item) |
static bool | Contains (System.Collections.ICollection col, System.Object item) |
static System.String | CollectionToString (System.Collections.Generic.IDictionary< string, string > c) |
static System.String | CollectionToString (System.Collections.ICollection c) |
Converts the specified collection to its string representation. | |
static bool | CompareStringArrays (System.String[] l1, System.String[] l2) |
Compares two string arrays for equality. | |
static void | Sort (System.Collections.IList list, System.Collections.IComparer Comparator) |
Sorts an IList collections | |
static void | Fill (System.Array array, System.Int32 fromindex, System.Int32 toindex, System.Object val) |
Fills the array with an specific value from an specific index to an specific index. | |
static void | Fill (System.Array array, System.Object val) |
Fills the array with an specific value. | |
static bool | Equals (System.Array array1, System.Array array2) |
Compares the entire members of one array whith the other one. | |
Support class used to handle Hashtable addition, which does a check first to make sure the added item is unique in the hash.
Definition at line 31 of file CollectionsHelper.cs.
|
static |
Definition at line 33 of file CollectionsHelper.cs.
|
static |
Definition at line 67 of file CollectionsHelper.cs.
|
static |
Definition at line 116 of file CollectionsHelper.cs.
|
static |
Definition at line 78 of file CollectionsHelper.cs.
|
static |
Definition at line 91 of file CollectionsHelper.cs.
|
static |
Definition at line 105 of file CollectionsHelper.cs.
|
static |
Definition at line 38 of file CollectionsHelper.cs.
|
static |
Definition at line 55 of file CollectionsHelper.cs.
|
static |
Definition at line 142 of file CollectionsHelper.cs.
|
static |
Converts the specified collection to its string representation.
c | The collection to convert to string. |
Definition at line 157 of file CollectionsHelper.cs.
|
static |
Compares two string arrays for equality.
l1 | First string array list to compare |
l2 | Second string array list to compare |
Definition at line 218 of file CollectionsHelper.cs.
|
static |
Definition at line 124 of file CollectionsHelper.cs.
|
static |
Definition at line 130 of file CollectionsHelper.cs.
|
static |
Compares the entire members of one array whith the other one.
array1 | The array to be compared. |
array2 | The array to be compared with. |
Definition at line 311 of file CollectionsHelper.cs.
|
static |
Fills the array with an specific value from an specific index to an specific index.
array | The array to be filled. |
fromindex | The first index to be filled. |
toindex | The last index to be filled. |
val | The value to fill the array with. |
Definition at line 271 of file CollectionsHelper.cs.
|
static |
Fills the array with an specific value.
array | The array to be filled. |
val | The value to fill the array with. |
Definition at line 293 of file CollectionsHelper.cs.
|
static |
Sorts an IList collections
list | The System.Collections.IList instance that will be sorted |
Comparator | The Comparator criteria, null to use natural comparator. |
Definition at line 235 of file CollectionsHelper.cs.