public class ByteArrayList extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
items |
protected int |
size |
| Constructor and Description |
|---|
ByteArrayList() |
ByteArrayList(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(byte newItem) |
boolean |
addAll(byte... source) |
void |
clear() |
void |
ensureCapacity(int minCapacity) |
byte |
get(int index) |
byte |
removeAtIndex(int index) |
int |
size() |
byte[] |
toArray() |
public ByteArrayList()
public ByteArrayList(int initialCapacity)
public boolean add(byte newItem)
public boolean addAll(byte... source)
public void ensureCapacity(int minCapacity)
public byte[] toArray()
public byte removeAtIndex(int index)
public byte get(int index)
public void clear()
public int size()
Copyright © 2022 The Apache Software Foundation. All rights reserved.