Klasse HashBag<T>
java.lang.Object
org.eclipse.net4j.util.collection.HashBag<T>
- Alle implementierten Schnittstellen:
Iterable<T>,Collection<T>,Set<T>
- Autor:
- Eike Stepper
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleanbooleanaddAll(Collection<? extends T> c) intvoidclear()booleanbooleancontainsAll(Collection<?> c) intgetCounterFor(T o) booleanisEmpty()iterator()booleanbooleanbooleanremoveAll(Collection<?> c) intremoveAndGet(Object o, int count) intbooleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) toString()Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, removeIf, stream, toArrayVon Schnittstelle geerbte Methoden java.util.Set
equals, hashCode, spliterator
-
Konstruktordetails
-
HashBag
public HashBag() -
HashBag
public HashBag(int initialCapacity, float loadFactor) -
HashBag
public HashBag(int initialCapacity) -
HashBag
-
HashBag
- Seit:
- 3.28
-
-
Methodendetails
-
getCounterFor
- Seit:
- 3.0
-
removeCounterFor
- Seit:
- 3.7
-
add
-
add
- Seit:
- 3.4
-
addAndGet
- Seit:
- 3.16
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- Angegeben von:
containsAllin SchnittstelleCollection<T>- Angegeben von:
containsAllin SchnittstelleSet<T>
-
isEmpty
public boolean isEmpty() -
iterator
-
remove
-
remove
- Seit:
- 3.4
-
removeAndGet
- Seit:
- 3.16
-
removeAll
-
retainAll
-
size
public int size() -
toArray
-
toArray
public <T> T[] toArray(T[] a) -
toString
-