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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(short t) void
add
(short[] t, int startIndex, int len) void
clone()
void
copyValues
(FastShortArray other) boolean
void
fullReset
(short resetValue) int
short[]
void
normalReset
(short resetValue) void
void
void
removeThisIndex
(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:
copyValues
in interfaceCopyable<FastShortArray>
-
clone
-
safeClone
- Specified by:
safeClone
in interfaceSafeCloneable<FastShortArray>
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
toString
-
toStringXml
-
equals
-