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