java.lang.Object
omix.util.collections.WeakCollection<E>
omix.util.collections.WeakList<E>
- All Implemented Interfaces:
Cloneable
,Iterable<E>
,Collection<E>
,List<E>
public final class WeakList<E> extends WeakCollection<E> implements List<E>
-
Constructor Summary
Constructors Constructor Description WeakList()
WeakList(Collection<? extends E> collection)
-
Method Summary
Modifier and Type Method Description void
add(int index, E element)
boolean
add(E e)
boolean
addAll(int index, Collection<? extends E> c)
void
clear()
WeakList<E>
clone()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
boolean
equals(Object o)
E
get(int index)
int
hashCode()
int
indexOf(Object o)
boolean
isEmpty()
int
lastIndexOf(Object o)
ListIterator<E>
listIterator()
ListIterator<E>
listIterator(int index)
E
remove(int index)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
void
replaceAll(UnaryOperator<E> operator)
boolean
retainAll(Collection<?> c)
E
set(int index, E element)
int
size()
void
sort(Comparator<? super E> c)
List<E>
subList(int fromIndex, int toIndex)
String
toString()
Methods inherited from class omix.util.collections.WeakCollection
addAll, forEach, iterator, parallelStream, removeIf, spliterator, stream, toArray, toArray
-
Constructor Details
-
Method Details
-
clone
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
add
-
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceList<E>
-
addAll
-
removeAll
-
retainAll
-
replaceAll
- Specified by:
replaceAll
in interfaceList<E>
-
sort
-
clear
public void clear() -
equals
-
toString
-
hashCode
public int hashCode() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
subList
-