Package io.deephaven.base.array
Class FastArrayExt<T extends Externalizable & Copyable<T>>
java.lang.Object
io.deephaven.base.array.FastArray<T>
io.deephaven.base.array.FastArrayExt<T>
- All Implemented Interfaces:
Copyable<FastArrayExt<T>>
,SafeCloneable<FastArrayExt<T>>
,Externalizable
,Serializable
,Cloneable
public final class FastArrayExt<T extends Externalizable & Copyable<T>>
extends FastArray<T>
implements Externalizable, Copyable<FastArrayExt<T>>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.base.array.FastArray
FastArray.ReadExternalFunction<C>, FastArray.WriteExternalFunction<C>
-
Field Summary
Fields inherited from class io.deephaven.base.array.FastArray
array, clazz, length, newInstance
-
Constructor Summary
ConstructorDescriptionFastArrayExt
(Class<? extends T> clazz) No empty args constructor.FastArrayExt
(Class<? extends T> clazz, int initialSize) FastArrayExt
(Class<? extends T> clazz, Supplier<? extends T> newInstance) FastArrayExt
(Class<? extends T> clazz, Supplier<? extends T> newInstance, int initialSize, boolean preallocate) FastArrayExt
(Supplier<? extends T> newInstance) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyValues
(FastArrayExt<T> other) static <T extends Externalizable & Copyable<T>>
Supplier<FastArrayExt<T>>createFactory
(Class<T> clazz, Supplier<T> itemFactory) void
void
Methods inherited from class io.deephaven.base.array.FastArray
add, add, addUnique, arrayReset, cloneDeep, cloneShallow, copyFullReset, copyNormalReset, copyValuesDeep, copyValuesShallow, equals, fastAdd, fastAdd, fullReset, fullReset, getLength, getNewInstance, getUnsafeArray, hashCode, maybeCopyValuesDeep, next, normalReset, normalReset, pop, quickReset, readExternal, readExternal, removeThisIndex, removeThisIndexDontCareAboutOrder, toString, toStringXml, writeExternal, writeExternal, writeExternal
-
Constructor Details
-
FastArrayExt
No empty args constructor. We should never be reading this directly off the wire, always goes through another readExternalizable -
FastArrayExt
-
FastArrayExt
-
FastArrayExt
-
FastArrayExt
-
-
Method Details
-
createFactory
public static <T extends Externalizable & Copyable<T>> Supplier<FastArrayExt<T>> createFactory(Class<T> clazz, Supplier<T> itemFactory) -
copyValues
- Specified by:
copyValues
in interfaceCopyable<T extends Externalizable & Copyable<T>>
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
safeClone
- Specified by:
safeClone
in interfaceSafeCloneable<T extends Externalizable & Copyable<T>>
-