[
https://issues.apache.org/jira/browse/COMMONSRDF-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500038#comment-14500038
]
Andy Seaborne commented on COMMONSRDF-14:
-----------------------------------------
Shall we define {{hashCode()}} for IRI and Literal (as default methods, using
accessors for the fields)? This is on the basis that agreeing on "same IRI" or
"same literal" is fairly fundamental to RDF so a means of linking data across
sources.
> Define value returned by hashCode()
> -----------------------------------
>
> Key: COMMONSRDF-14
> URL: https://issues.apache.org/jira/browse/COMMONSRDF-14
> Project: Apache Commons RDF
> Issue Type: Improvement
> Reporter: Reto Gmür
> Priority: Critical
>
> To allow interoperability the API must define what the hashCode for Literals
> and IRIs has to be. For grounded Triples the hashcode of instances of
> different implementations should also be equals, so the API should also
> define the hashcode of a triple as a function of the hashcode of its
> subjects, predicate and object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)