Class Multiset.Entry<T>

java.lang.Object
com.sure.tool.collection.Multiset.Entry<T>
Type Parameters:
T - 元素类型
Enclosing class:
Multiset<T>

public static final class Multiset.Entry<T> extends Object
元素与计数条目。
Since:
1.10.0
  • Method Details

    • getElement

      public T getElement()
      元素。
      Returns:
      元素
    • getCount

      public int getCount()
      该元素出现次数。
      Returns:
      次数
    • toString

      public String toString()
      Overrides:
      toString in class Object