Simple brute force implementation. If size is equal, compare items one by one.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public override bool Equals(
	Object obj
)
Visual Basic
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
Visual C++
public:
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System..::..Object
SegmentInfos object to check equality for

Return Value

true if lists are equal, false otherwise

See Also