Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists. Also provides functionality to compare lists against each other through an implementations of IEquatable{T}. More...
Inherits List< T >, IEquatable< System.Collections.Generic.IEnumerable< T >>, and ICloneable.
Public Member Functions | |
EquatableList () | |
Initializes a new instance of the EquatableList{T} class that is empty and has the default initial capacity. | |
EquatableList (System.Collections.Generic.IEnumerable< T > collection) | |
Initializes a new instance of the EquatableList{T} class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied. | |
EquatableList (int capacity) | |
Initializes a new instance of the EquatableList{T} class that is empty and has the specified initial capacity. | |
void | AddRange (ICollection c) |
Adds a range of objects represented by the ICollection implementation. | |
bool | Equals (System.Collections.Generic.IEnumerable< T > other) |
Compares this sequence to another System.Collections.Generic.IEnumerable{T} implementation, returning true if they are equal, false otherwise. | |
override bool | Equals (object obj) |
Compares this object for equality against other. | |
override int | GetHashCode () |
Gets the hash code for the list. | |
object | Clone () |
Clones the EquatableList{T}. | |
Static Public Member Functions | |
static int | GetHashCode (System.Collections.Generic.IEnumerable< T > source) |
Gets the hash code for the list. | |
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists. Also provides functionality to compare lists against each other through an implementations of IEquatable{T}.
T | The type of elements in the list. |
Definition at line 34 of file EquatableList.cs.
Lucene.Net.Support.EquatableList< T >.EquatableList | ( | ) |
Initializes a new instance of the EquatableList{T} class that is empty and has the default initial capacity.
Definition at line 41 of file EquatableList.cs.
Lucene.Net.Support.EquatableList< T >.EquatableList | ( | System.Collections.Generic.IEnumerable< T > | collection | ) |
Initializes a new instance of the EquatableList{T} class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
collection | The collection whose elements are copied to the new list. |
Definition at line 47 of file EquatableList.cs.
Lucene.Net.Support.EquatableList< T >.EquatableList | ( | int | capacity | ) |
Initializes a new instance of the EquatableList{T} class that is empty and has the specified initial capacity.
capacity | The number of elements that the new list can initially store. |
Definition at line 52 of file EquatableList.cs.
void Lucene.Net.Support.EquatableList< T >.AddRange | ( | ICollection | c | ) |
Adds a range of objects represented by the ICollection implementation.
c | The ICollection implementation to add to this list. |
Definition at line 58 of file EquatableList.cs.
object Lucene.Net.Support.EquatableList< T >.Clone | ( | ) |
Clones the EquatableList{T}.
This is a shallow clone.
Definition at line 331 of file EquatableList.cs.
bool Lucene.Net.Support.EquatableList< T >.Equals | ( | System.Collections.Generic.IEnumerable< T > | other | ) |
Compares this sequence to another System.Collections.Generic.IEnumerable{T} implementation, returning true if they are equal, false otherwise.
other | The other System.Collections.Generic.IEnumerable{T} implementation to compare against. |
Definition at line 213 of file EquatableList.cs.
override bool Lucene.Net.Support.EquatableList< T >.Equals | ( | object | obj | ) |
Compares this object for equality against other.
obj | The other object to compare this object against. |
Definition at line 224 of file EquatableList.cs.
override int Lucene.Net.Support.EquatableList< T >.GetHashCode | ( | ) |
Gets the hash code for the list.
Definition at line 232 of file EquatableList.cs.
|
static |
Gets the hash code for the list.
source | The System.Collections.Generic.IEnumerable{T} implementation which will have all the contents hashed. |
Definition at line 245 of file EquatableList.cs.