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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(long t) voidadd(long[] t, int startIndex, int len) voidclone()voidcopyValues(FastLongArray other) booleanvoidfullReset(long resetValue) intlong[]voidnormalReset(long resetValue) voidvoidvoidremoveThisIndex(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:
copyValuesin interfaceCopyable<FastLongArray>
-
clone
-
safeClone
- Specified by:
safeClonein interfaceSafeCloneable<FastLongArray>
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
toString
-
toStringXml
-
equals
-