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