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