java.lang.Object
omix.util.collections.HashList<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
public class HashList<T> extends Object implements List<T>
-
Constructor Summary
Constructors Constructor Description HashList()
HashList(Collection<? extends T> list)
-
Method Summary
Modifier and Type Method Description void
add(int index, T element)
boolean
add(T element)
boolean
addAll(int index, Collection<? extends T> c)
boolean
addAll(Collection<? extends T> objects)
void
clear()
HashList<T>
clone()
boolean
contains(Object object)
boolean
containsAll(Collection<?> c)
T
get(int index)
int
indexOf(Object o)
boolean
isEmpty()
Iterator<T>
iterator()
int
lastIndexOf(Object o)
ListIterator<T>
listIterator()
ListIterator<T>
listIterator(int index)
T
remove(int index)
boolean
remove(Object element)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
T
set(int index, T element)
int
size()
HashList<T>
subList(int fromIndex, int toIndex)
Object[]
toArray()
<T> T[]
toArray(T[] a)
String
toString()
-
Constructor Details
-
Method Details
-
add
-
remove
-
isEmpty
public boolean isEmpty() -
clear
public void clear() -
addAll
-
clone
-
contains
-
size
public int size() -
toArray
-
toArray
public <T> T[] toArray(T[] a) -
containsAll
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceList<T>
-
addAll
-
removeAll
-
retainAll
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T>
-
subList
-
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
iterator
-
toString
-