Class AbstractMapMultiSet.MultiSetEntry<E>

    • Constructor Detail

      • MultiSetEntry

        protected MultiSetEntry​(java.util.Map.Entry<E,​AbstractMapMultiSet.MutableInteger> parentEntry)
        Constructor.
        Parameters:
        parentEntry - the entry to decorate
    • Method Detail

      • getElement

        public E getElement()
        Description copied from interface: MultiSet.Entry
        Returns the element corresponding to this entry.
        Returns:
        the element corresponding to this entry
      • getCount

        public int getCount()
        Description copied from interface: MultiSet.Entry
        Returns the number of occurrences for the element of this entry.
        Returns:
        the number of occurrences of the element