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
flush
close
forEach, iterator, spliterator
public boolean isEmpty()
public long size()
DataBag
public void addAll(Iterable<? extends E> c)
DataBag
public void addAll(Iterator<? extends E> it)
DataBag
public void send(E item)
send
in interface org.apache.jena.atlas.lib.Sink<E>
Licenced under the Apache License, Version 2.0