Package io.deephaven.base.array
Class FastShortArray
java.lang.Object
io.deephaven.base.array.FastShortArray
- All Implemented Interfaces:
Copyable<FastShortArray>,SafeCloneable<FastShortArray>,Externalizable,Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(short t) voidadd(short[] t, int startIndex, int len) voidclone()voidcopyValues(FastShortArray other) booleanvoidfullReset(short resetValue) intshort[]voidnormalReset(short resetValue) voidvoidvoidremoveThisIndex(int index) toString()toStringXml(String pre) void
-
Constructor Details
-
FastShortArray
public FastShortArray() -
FastShortArray
public FastShortArray(int initialSize) -
FastShortArray
public FastShortArray(short[] initValues)
-
-
Method Details
-
add
public void add(short t) -
add
public void add(short[] t, int startIndex, int len) -
quickReset
public void quickReset() -
normalReset
public void normalReset(short resetValue) -
fullReset
public void fullReset(short resetValue) -
arrayReset
public void arrayReset() -
getLength
public int getLength() -
getUnsafeArray
public short[] getUnsafeArray() -
removeThisIndex
public void removeThisIndex(int index) -
copyValues
- Specified by:
copyValuesin interfaceCopyable<FastShortArray>
-
clone
-
safeClone
- Specified by:
safeClonein interfaceSafeCloneable<FastShortArray>
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
toString
-
toStringXml
-
equals
-