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 TypMethodeBeschreibungboolean
boolean
boolean
addAll
(Collection<? extends T> c) int
void
clear()
boolean
boolean
containsAll
(Collection<?> c) int
getCounterFor
(T o) boolean
isEmpty()
iterator()
boolean
boolean
boolean
removeAll
(Collection<?> c) int
removeAndGet
(Object o, int count) int
boolean
retainAll
(Collection<?> c) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a) toString()
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden java.util.Collection
parallelStream, removeIf, stream, toArray
Von 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:
containsAll
in SchnittstelleCollection<T>
- Angegeben von:
containsAll
in 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
-