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, wait
add, isDistinct, isSorted
public boolean isEmpty()
public long size()
DataBag
public void addAll(Iterable<? extends E> c)
DataBag
public void addAll(Iterator<? extends E> it)
DataBag
Licenced under the Apache License, Version 2.0