public class HashList<E> extends ArrayList<E>
Modifier and Type | Field and Description |
---|---|
protected HashSet<E> |
set |
modCount
Constructor and Description |
---|
HashList() |
HashList(Collection<? extends E> c) |
HashList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E o) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
void |
clear() |
Object |
clone() |
boolean |
contains(Object elem) |
E |
remove(int index)
supprime l'element demandé.
|
protected void |
removeRange(int fromIndex,
int toIndex) |
E |
set(int index,
E element) |
ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeIf, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public HashList()
public HashList(Collection<? extends E> c)
public HashList(int initialCapacity)
public boolean add(E o)
public void add(int index, E element)
public E remove(int index)
public void clear()
public boolean addAll(Collection<? extends E> c)
public boolean addAll(int index, Collection<? extends E> c)
protected void removeRange(int fromIndex, int toIndex)
removeRange
in class ArrayList<E>
public boolean contains(Object elem)
Copyright © 2004–2020 CodeLutin. All rights reserved.