Class ImmutableMultiList.SetView

    • Constructor Detail

      • SetView

        protected SetView()
        Create a SetView over this ImmutableMultiList.
    • Method Detail

      • equals

        public boolean equals​(Object o)
        Compares the specified object with this set for equality. Returns true if the specified object is also a set, the two sets have the same size, and every member of the specified set is contained in this set (or equivalently, every member of this set is contained in the specified set). This definition ensures that the equals method works properly across different implementations of the set interface.
        Specified by:
        equals in interface Collection
        Specified by:
        equals in interface Set
        Overrides:
        equals in class WrapperCollections.AbstractWrapperCollection
        Parameters:
        o - Object to be compared for equality with this set.
        Returns:
        true if the specified Object is equal to this set.