Interface Multiset.Entry<E>

Type Parameters:
E - element type | 元素类型
Enclosing interface:
Multiset<E>

public static interface Multiset.Entry<E>
Entry - Element with occurrence count Entry - 带出现次数的元素
Since:
JDK 25, opencode-base-collections V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the count.
    Return the element.
  • Method Details

    • getElement

      E getElement()
      Return the element. 返回元素。
      Returns:
      element | 元素
    • getCount

      int getCount()
      Return the count. 返回计数。
      Returns:
      count | 计数