Class DuplicateRelation.RelationPair

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​java.lang.String> keys
      Tags of the relation
      private DuplicateRelation.RelationMembers members
      Member objects of the relation
    • Constructor Summary

      Constructors 
      Constructor Description
      RelationPair​(java.util.List<RelationMember> members, java.util.Map<java.lang.String,​java.lang.String> keys)
      Store relation information
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RelationPair

        RelationPair​(java.util.List<RelationMember> members,
                     java.util.Map<java.lang.String,​java.lang.String> keys)
        Store relation information
        Parameters:
        members - The list of relation members
        keys - The set of tags of the relation
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object