Interface ImmutableMultiset.Entry<E>

Type Parameters:
E - element type | 元素类型
Enclosing class:
ImmutableMultiset<E>

public static interface ImmutableMultiset.Entry<E>
Entry interface for multiset entries 多重集条目的条目接口
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:
      the element | 元素
    • getCount

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