Top Description Interfaces
module org.eclipse.collections.api

Package org.eclipse.collections.api.bag


This package contains interfaces for Bag API.

A Bag is a java.util.Collection which contains elements that are unordered, 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
Bag<T>

A Bag is a Collection whose elements are unordered and may contain duplicate entries.

public interface
public interface
public interface
MultiReaderBag<T>

A MultiReaderBag provides thread-safe iteration for a bag through methods withReadLockAndDelegate() and withWriteLockAndDelegate().

public interface
MutableBag<T>

A MutableBag is a Collection whose elements are unordered and may contain duplicate entries.

public interface
public interface
public interface
public interface