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
ConstructorsConstructorDescriptionBufferOverArray(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) longBuffers with 'unlimited' capacity should return Long.MAX_VALUEvoidintvoidThe 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, waitMethods inherited from interface org.apache.jena.sparql.service.enhancer.slice.impl.ArrayReadable
readIntoRawMethods 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:ArrayWritableThe method that needs to be implemented; all other methods default-delegate to this one.- Specified by:
writein interfaceArrayWritable<A>
-
getCapacity
public long getCapacity()Description copied from interface:BufferLikeBuffers with 'unlimited' capacity should return Long.MAX_VALUE- Specified by:
getCapacityin interfaceBufferLike<A>
-
getArrayOps
- Specified by:
getArrayOpsin interfaceHasArrayOps<A>
-
readInto
- Specified by:
readIntoin interfaceArrayReadable<A>
-
put
- Specified by:
putin interfaceArrayWritable<A>
-
get
- Specified by:
getin interfaceArrayReadable<A>
-