[
https://issues.apache.org/jira/browse/LUCENENET-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067375#comment-13067375
]
Digy commented on LUCENENET-437:
--------------------------------
bq. This ensures that list1.equals(list2) implies that
list1.hashCode()==list2.hashCode() for any two lists, list1 and list2, as
required by the general contract of Object.hashCode."
but it doesn't ensure that
if list1.hashCode()==list2.hashCode() then list1.equals(list2) should be true,
as I showed using Eric Lippert's sample.
> Port Contrib.Shingle from Java
> ------------------------------
>
> Key: LUCENENET-437
> URL: https://issues.apache.org/jira/browse/LUCENENET-437
> Project: Lucene.Net
> Issue Type: Task
> Components: Lucene.Net Contrib, Lucene.Net Test
> Affects Versions: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
> Reporter: Troy Howard
> Assignee: Troy Howard
> Priority: Minor
> Fix For: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
>
>
> Port Contrib.Shingle from Java
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira