com.github.drinkjava2.jdbpro
Class LinkStyleArrayList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
com.github.drinkjava2.jdbpro.LinkStyleArrayList<T>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess
public class LinkStyleArrayList<T>
- extends ArrayList<T>
AppendableArrayList make ArrayList support link style
- Since:
- 2.0.0
- Author:
- Yong Zhu
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
LinkStyleArrayList
public LinkStyleArrayList()
frontAdd
public LinkStyleArrayList<T> frontAdd(T element)
append
public LinkStyleArrayList<T> append(T element)
insert
public LinkStyleArrayList<T> insert(int index,
T element)
toObjectArray
public Object[] toObjectArray()
Copyright © 2018. All rights reserved.