Top Description Interfaces
module org.eclipse.collections.api

Package org.eclipse.collections.api.bag.sorted


This package contains interfaces for SortedBag API.

A sorted bag is a java.util.Collection which contains elements that are sorted, and may contain duplicate entries. It adds a protocol for adding, removing, and determining the number of occurrences for an item.

This package contains 3 interfaces:

Interface Summary

Modifier and TypeInterface and Description
public interface
ImmutableSortedBag<T>

ImmutableSortedBag is the non-modifiable equivalent interface to MutableSortedBag.

public interface
public interface
public interface
SortedBag<T>

An Iterable whose elements are sorted by some comparator or their natural ordering and may contain duplicate entries.