Class SimpleContainerIdentity

    • Constructor Detail

      • SimpleContainerIdentity

        public SimpleContainerIdentity​(String id)
        Parameters:
        id - the container id
    • Method Detail

      • getId

        public String getId()
        Returns:
        the container id
      • equals

        public boolean equals​(Object identity)
        Differentiate two identities.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Allows quick verification to check is two identities are different.
        Overrides:
        hashCode in class Object