@Authors(value="Nikolche Mihajlovski") @Since(value="2.0.0") public class SimpleList<T> extends org.rapidoid.RapidoidThing implements SimpleBucket<T>
| Modifier and Type | Field and Description |
|---|---|
T[] |
array |
protected int |
growFactor |
protected int |
position |
protected int |
size |
| Constructor and Description |
|---|
SimpleList(int capacity) |
SimpleList(int capacity,
int growFactor) |
public T[] array
protected int size
protected int position
protected final int growFactor
public SimpleList(int capacity)
public SimpleList(int capacity,
int growFactor)
public void clear()
clear in interface SimpleBucket<T>public int size()
size in interface SimpleBucket<T>public T get(int index)
get in interface SimpleBucket<T>public T add(T obj)
add in interface SimpleBucket<T>public void delete(int index)
delete in interface SimpleBucket<T>Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.