public static final class GenericBuffer.GenericArrayWrapper<T> extends java.lang.Object implements GenericBuffer.PrimitiveGenericWrapper<T>
| Constructor and Description |
|---|
GenericArrayWrapper(T[] array) |
| Modifier and Type | Method and Description |
|---|---|
GenericBuffer.GenericArrayWrapper<T> |
apply(java.util.function.Function<T,T> mapper) |
GenericBuffer.GenericArrayWrapper<T> |
applyLeft(java.util.function.BiFunction<T,T,T> mapper,
T leftArg) |
GenericBuffer.GenericArrayWrapper<T> |
applyRight(java.util.function.BiFunction<T,T,T> mapper,
T rightArg) |
T[] |
asArray() |
GenericBuffer.PrimitiveGenericWrapper<T> |
copy() |
GenericBuffer.GenericArrayWrapper<T> |
copyFrom(JVMBuffer.PrimitiveArrayWrapper<T,?> src,
long srcPos,
long destPos,
long length) |
boolean |
equals(java.lang.Object o) |
T |
get(long index) |
long |
getLength() |
int |
hashCode() |
GenericBuffer.GenericArrayWrapper<T> |
set(T value,
long index) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasArraypublic GenericArrayWrapper(T[] array)
public T get(long index)
get in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public GenericBuffer.GenericArrayWrapper<T> set(T value, long index)
set in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public long getLength()
getLength in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public GenericBuffer.PrimitiveGenericWrapper<T> copy()
copy in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public GenericBuffer.GenericArrayWrapper<T> copyFrom(JVMBuffer.PrimitiveArrayWrapper<T,?> src, long srcPos, long destPos, long length)
copyFrom in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public T[] asArray()
asArray in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>asArray in interface GenericBuffer.PrimitiveGenericWrapper<T>public GenericBuffer.GenericArrayWrapper<T> applyRight(java.util.function.BiFunction<T,T,T> mapper, T rightArg)
applyRight in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public GenericBuffer.GenericArrayWrapper<T> applyLeft(java.util.function.BiFunction<T,T,T> mapper, T leftArg)
applyLeft in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public GenericBuffer.GenericArrayWrapper<T> apply(java.util.function.Function<T,T> mapper)
apply in interface JVMBuffer.PrimitiveArrayWrapper<T,GenericBuffer.PrimitiveGenericWrapper<T>>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object