You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commonsrdf.apache.org by "Stian Soiland-Reyes (JIRA)" <ji...@apache.org> on 2015/08/10 13:23:45 UTC

[jira] [Resolved] (COMMONSRDF-14) Define value returned by hashCode()

     [ https://issues.apache.org/jira/browse/COMMONSRDF-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stian Soiland-Reyes resolved COMMONSRDF-14.
-------------------------------------------
    Resolution: Fixed

Merged pull request #13. 

I've updated the javadoc on the website:

See for instance:

http://commonsrdf.incubator.apache.org/apidocs/org/apache/commons/rdf/api/Triple.html#hashCode--

> 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
>            Assignee: Stian Soiland-Reyes
>            Priority: Critical
>             Fix For: 0.2
>
>
> 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)