public abstract static class JVMBuffer.SingleValueWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>> extends java.lang.Object implements JVMBuffer.PrimitiveArrayWrapper<T,IMPL>
| Constructor and Description |
|---|
SingleValueWrapper(T value) |
| Modifier and Type | Method and Description |
|---|---|
IMPL |
apply(java.util.function.Function<T,T> mapper) |
IMPL |
applyLeft(java.util.function.BiFunction<T,T,T> mapper,
T leftArg) |
IMPL |
applyRight(java.util.function.BiFunction<T,T,T> mapper,
T rightArg) |
IMPL |
copyFrom(JVMBuffer.PrimitiveArrayWrapper<T,?> src,
long srcPos,
long destPos,
long length) |
boolean |
equals(java.lang.Object o) |
T |
get(long index) |
long |
getLength() |
protected abstract IMPL |
getThis() |
int |
hashCode() |
IMPL |
set(T value,
long index) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasArray, asArray, copyprotected T value
public SingleValueWrapper(T value)
public T get(long index)
get in interface JVMBuffer.PrimitiveArrayWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>>public IMPL set(T value, long index)
set in interface JVMBuffer.PrimitiveArrayWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>>public long getLength()
getLength in interface JVMBuffer.PrimitiveArrayWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>>public IMPL copyFrom(JVMBuffer.PrimitiveArrayWrapper<T,?> src, long srcPos, long destPos, long length)
copyFrom in interface JVMBuffer.PrimitiveArrayWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>>public IMPL apply(java.util.function.Function<T,T> mapper)
apply in interface JVMBuffer.PrimitiveArrayWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>>public IMPL applyRight(java.util.function.BiFunction<T,T,T> mapper, T rightArg)
applyRight in interface JVMBuffer.PrimitiveArrayWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>>public IMPL applyLeft(java.util.function.BiFunction<T,T,T> mapper, T leftArg)
applyLeft in interface JVMBuffer.PrimitiveArrayWrapper<T,IMPL extends JVMBuffer.PrimitiveArrayWrapper<T,IMPL>>protected abstract IMPL getThis()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object