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