Github user stain commented on the issue:

    https://github.com/apache/incubator-commonsrdf/pull/26
  
    This clarifies immutability of an `RDFTerm` (as it is already implemented) 
and that it can be safely used in say a `Set`.
    
    I added `.equals()` and `.hashCode()` to `RDFTerm` which delegate to `IRI`, 
`BlankNode` and `Literal`.
    
    One questions is if `RDFTerm` class should be restrictive about its 
children being either an `IRI`, `BlankNode` or `Literal` - which would not 
allow like `Variable` we tried in Jena - or multiple inheritance.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to