public class GrowableArray<T>
extends Object
implements Iterable<T>
Constructor and Description |
---|
GrowableArray() |
GrowableArray(java.util.ArrayList<T> data) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T t) |
void |
clear() |
T |
get(com.u7.jthereum.types.BytesOrInt index) |
T |
get(long index) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
T |
pop() |
Uint |
push(T t) |
T |
set(com.u7.jthereum.types.BytesOrInt index,
T element) |
T |
set(long index,
T element) |
void |
setLength(com.u7.jthereum.types.BaseInt newLength) |
void |
setLength(long newLength) |
Uint |
size() |
int |
sizeAsInt() |
String |
toString() |
public GrowableArray()
public GrowableArray(java.util.ArrayList<T> data)
public boolean add(T t)
public void clear()
public T get(com.u7.jthereum.types.BytesOrInt index)
public T get(long index)
public boolean isEmpty()
public T pop()
public void setLength(com.u7.jthereum.types.BaseInt newLength)
public void setLength(long newLength)
public Uint size()
public int sizeAsInt()
public String toString()
toString
in class Object