Class Multisets.AbstractEntry<E>

    • Constructor Detail

      • AbstractEntry

        AbstractEntry()
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a string representation of this multiset entry. The string representation consists of the associated element if the associated count is one, and otherwise the associated element followed by the characters " x " (space, x and space) followed by the count. Elements and counts are converted to strings as by String.valueOf.
        Specified by:
        toString in interface Multiset.Entry<E>
        Overrides:
        toString in class java.lang.Object