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