org.eclipse.collections.api.bag.package-info Maven / Gradle / Ivy
/*
* Copyright (c) 2015 Goldman Sachs.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*/
/**
* This package contains interfaces for Bag API.
*
* A Bag is a {@link 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:
*
* -
* {@link org.eclipse.collections.api.bag.Bag} - contains the common API for Mutable and Immutable Bag.
*
* -
* {@link org.eclipse.collections.api.bag.MutableBag} - a Bag whose contents can be altered after initialization.
*
* -
* {@link org.eclipse.collections.api.bag.ImmutableBag} - a Bag whose contents cannot be altered after initialization.
*
*
*/
package org.eclipse.collections.api.bag;