Package | Description |
---|---|
org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
Modifier and Type | Method | Description |
---|---|---|
static <E> HashBag<E> |
HashBag.newBag() |
|
static <E> HashBag<E> |
HashBag.newBag(int size) |
|
static <E> HashBag<E> |
HashBag.newBag(java.lang.Iterable<? extends E> source) |
|
static <E> HashBag<E> |
HashBag.newBag(Bag<? extends E> source) |
|
static <E> HashBag<E> |
HashBag.newBagWith(E... elements) |
|
HashBag<T> |
HashBag.with(T element) |
|
HashBag<T> |
HashBag.with(T... elements) |
|
HashBag<T> |
HashBag.with(T element1,
T element2) |
|
HashBag<T> |
HashBag.with(T element1,
T element2,
T element3) |
|
HashBag<T> |
HashBag.withAll(java.lang.Iterable<? extends T> iterable) |
|
HashBag<T> |
HashBag.without(T element) |
|
HashBag<T> |
HashBag.withoutAll(java.lang.Iterable<? extends T> iterable) |
Copyright © 2004–2020. All rights reserved.