org.openjdk.jmh.util

Class TreeMultiset<T extends Comparable<T>>

    • Constructor Detail

      • TreeMultiset

        public TreeMultiset()
    • Method Detail

      • add

        public void add(T element)
        Description copied from interface: Multiset
        Add the element to the multiset
        Specified by:
        add in interface Multiset<T extends Comparable<T>>
        Parameters:
        element - element to add
      • add

        public void add(T element,       long add)
        Description copied from interface: Multiset
        Add the element to the multiset
        Specified by:
        add in interface Multiset<T extends Comparable<T>>
        Parameters:
        element - element to add
        add - number of elements to add
      • count

        public long count(T element)
        Description copied from interface: Multiset
        Count the elements in multiset
        Specified by:
        count in interface Multiset<T extends Comparable<T>>
        Parameters:
        element - element
        Returns:
        number of matching elements in the set; zero, if no elements
      • isEmpty

        public boolean isEmpty()
        Description copied from interface: Multiset
        Answers if Multiset is empty
        Specified by:
        isEmpty in interface Multiset<T extends Comparable<T>>
        Returns:
        true, if set is empty
      • size

        public long size()
        Description copied from interface: Multiset
        Answers the size of multiset. Equivalent to number of elements, counting duplications.
        Specified by:
        size in interface Multiset<T extends Comparable<T>>
        Returns:
        number of elements

Copyright © 2012-2015 Oracle. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14