Class BufferOverArray<A>
java.lang.Object
org.apache.jena.sparql.service.enhancer.slice.impl.BufferOverArray<A>
- All Implemented Interfaces:
HasArrayOps<A>
,ArrayReadable<A>
,ArrayWritable<A>
,Buffer<A>
,BufferLike<A>
-
Constructor Summary
ConstructorDescriptionBufferOverArray
(ArrayOps<A> arrayOps, int size) BufferOverArray
(ArrayOps<A> arrayOps, A array) -
Method Summary
Modifier and TypeMethodDescriptionstatic <A> BufferOverArray<A>
static <A> BufferOverArray<A>
get
(long index) long
Buffers with 'unlimited' capacity should return Long.MAX_VALUEvoid
int
void
The method that needs to be implemented; all other methods default-delegate to this one.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.sparql.service.enhancer.slice.impl.ArrayReadable
readIntoRaw
Methods inherited from interface org.apache.jena.sparql.service.enhancer.slice.impl.ArrayWritable
write, write
-
Constructor Details
-
BufferOverArray
-
BufferOverArray
-
-
Method Details
-
create
-
create
-
write
Description copied from interface:ArrayWritable
The method that needs to be implemented; all other methods default-delegate to this one.- Specified by:
write
in interfaceArrayWritable<A>
-
getCapacity
public long getCapacity()Description copied from interface:BufferLike
Buffers with 'unlimited' capacity should return Long.MAX_VALUE- Specified by:
getCapacity
in interfaceBufferLike<A>
-
getArrayOps
- Specified by:
getArrayOps
in interfaceHasArrayOps<A>
-
readInto
- Specified by:
readInto
in interfaceArrayReadable<A>
-
put
- Specified by:
put
in interfaceArrayWritable<A>
-
get
- Specified by:
get
in interfaceArrayReadable<A>
-