Class BatchImpl<K extends Comparable<K>,T>
java.lang.Object
org.apache.jena.sparql.service.enhancer.impl.BatchImpl<K,T>
Batch implementation backed by a navigable map.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> org.apache.jena.sparql.service.enhancer.impl.Batch<Integer,
T> static <T> org.apache.jena.sparql.service.enhancer.impl.Batch<Long,
T> forLong()
getItems()
Returns an immutable view of the items in the batchboolean
isEmpty()
void
Items must be added with ascending indexes.int
size()
toString()
-
Constructor Details
-
BatchImpl
-
-
Method Details
-
forInteger
-
forLong
-
put
Items must be added with ascending indexes. Adding an item with a lower index than already seen raises an IllegalArgumentException -
getNextValidIndex
-
getItems
Returns an immutable view of the items in the batch -
isEmpty
public boolean isEmpty() -
size
public int size() -
toString
-