Package org.apache.iotdb.tsfile.utils
Class ByteArrayList
- java.lang.Object
-
- org.apache.iotdb.tsfile.utils.ByteArrayList
-
public class ByteArrayList extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ByteArrayList()ByteArrayList(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(byte newItem)booleanaddAll(byte... source)voidclear()voidensureCapacity(int minCapacity)byteget(int index)byteremoveAtIndex(int index)intsize()byte[]toArray()
-
-
-
Method Detail
-
add
public boolean add(byte newItem)
-
addAll
public boolean addAll(byte... source)
-
ensureCapacity
public void ensureCapacity(int minCapacity)
-
toArray
public byte[] toArray()
-
removeAtIndex
public byte removeAtIndex(int index)
-
get
public byte get(int index)
-
clear
public void clear()
-
size
public int size()
-
-