Package io.deephaven.base.array
Class FastLongArray
java.lang.Object
io.deephaven.base.array.FastLongArray
- All Implemented Interfaces:
Copyable<FastLongArray>
,SafeCloneable<FastLongArray>
,Externalizable
,Serializable
,Cloneable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long t) void
add
(long[] t, int startIndex, int len) void
clone()
void
copyValues
(FastLongArray other) boolean
void
fullReset
(long resetValue) int
long[]
void
normalReset
(long resetValue) void
void
void
removeThisIndex
(int index) toString()
toStringXml
(String pre) void
-
Constructor Details
-
FastLongArray
public FastLongArray() -
FastLongArray
public FastLongArray(int initialSize) -
FastLongArray
public FastLongArray(long[] initValues)
-
-
Method Details
-
add
public void add(long t) -
add
public void add(long[] t, int startIndex, int len) -
quickReset
public void quickReset() -
normalReset
public void normalReset(long resetValue) -
fullReset
public void fullReset(long resetValue) -
arrayReset
public void arrayReset() -
getLength
public int getLength() -
getUnsafeArray
public long[] getUnsafeArray() -
removeThisIndex
public void removeThisIndex(int index) -
copyValues
- Specified by:
copyValues
in interfaceCopyable<FastLongArray>
-
clone
-
safeClone
- Specified by:
safeClone
in interfaceSafeCloneable<FastLongArray>
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
toString
-
toStringXml
-
equals
-