Class ConverterCollections.ConverterSet<F,​T>

    • Constructor Detail

      • ConverterSet

        public ConverterSet​(Collection<F> col,
                            Converter<F,​T> convUp,
                            Converter<T,​F> convDown)
        Constructor.
        Parameters:
        col - the underlying Collection
        convUp - the Converter from the underlying Set
        convDown - the Converter to the underlying Set
    • Method Detail

      • equals

        public boolean equals​(Object o)
        Compares the specified object with this collection for equality.

        Obeys the general contract of Collection.equals.

        Specified by:
        equals in interface Collection<F>
        Specified by:
        equals in interface Set<F>
        Overrides:
        equals in class ConverterCollections.ConverterCollection<F,​T>
        Parameters:
        o - Object to be compared for equality with this Collection
        Returns:
        true if the specified object is equal to this Collection