public abstract class AbstractDataBag<E> extends Object implements DataBag<E>
| Constructor and Description |
|---|
AbstractDataBag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(Iterable<? extends E> c)
Add contents of an Iterable to the bag.
|
void |
addAll(Iterator<? extends E> it)
Add contents of an Iterator to the bag.
|
boolean |
isEmpty() |
void |
send(E item) |
long |
size()
Get the number of elements in the bag, both in memory and on disk.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, isDistinct, isSortedpublic boolean isEmpty()
public long size()
DataBagpublic void addAll(Iterable<? extends E> c)
DataBagpublic void addAll(Iterator<? extends E> it)
DataBagLicenced under the Apache License, Version 2.0