Name | Signature and Synopsis |
---|---|
add | void add ( Object collection ,int index ,Object element) Inserts the specified element at the specified position in this collection. |
addAll | boolean addAll ( Object collection ,int index ,Object collection ) Inserts all of the elements in the specified collection into this collection at the specified position. |
createArrayList | Object createArrayList ( ) Create and returns instance of ArrayList. |
createArrayListWithId | Object createArrayListWithId ( String listId ) Create and return instance of ArrayList for the given listID |
createLinkedList | Object createLinkedList ( ) Create and returns instance of LinkedList. |
createLinkedListWithId | Object createLinkedListWithId ( String listId ) Create and return instance of LinkedList for the given listID |
createList | Object createList ( String className ) Creates user specified List implementation |
createListWithId | Object createListWithId ( String className , String listId ) Creates user specified List implementation |
deleteList | Object deleteList ( String listId ) Deletes the instance of List for the given listId. >This function can not be used if the collection is created with createList(). |
get | Object get ( Object list ,int index ) Returns the element at the specified position in this list. |
getList | Object getList ( String listId ) Returns the instance of List for the given listId. |
indexOf | int indexOf ( Object list ,Object element ) Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. |
lastIndexOf | int lastIndexOf ( Object list ,Object element ) Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. |
set | Object set ( Object list ,int index ,Object element ) Replaces the element at the specified position in this list with the specified element. |
subList | Object subList ( Object list ,int fromIndex ,int toIndex ) Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. |