Package eu.bandm.tools.ops
Class UnmodifiableMultiset<A>
java.lang.Object
eu.bandm.tools.ops.UnmodifiableMultiset<A>
- All Implemented Interfaces:
Multiset<A>
,Serializable
,Iterable<A>
Protects the contents of a multi set.
Is only abstract and installed by static methods in
Multisets
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
clear()
boolean
boolean
removeAll
(Collection<? extends A> c) boolean
removeAllUnchecked
(Collection<?> c) boolean
removeDomain
(A a) boolean
boolean
boolean
retainAll
(Collection<? extends A> c) boolean
retainAllUnchecked
(Collection<?> c) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface eu.bandm.tools.ops.Multiset
contains, containsUnchecked, count, countAll, countAllUnchecked, countUnchecked, domain, isEmpty, supportMap
-
Constructor Details
-
UnmodifiableMultiset
UnmodifiableMultiset()
-
-
Method Details
-
clear
public void clear() -
add
-
add
-
remove
-
removeUnchecked
- Specified by:
removeUnchecked
in interfaceMultiset<A>
-
removeDomain
- Specified by:
removeDomain
in interfaceMultiset<A>
-
removeDomainUnchecked
- Specified by:
removeDomainUnchecked
in interfaceMultiset<A>
-
removeAll
-
removeAllUnchecked
- Specified by:
removeAllUnchecked
in interfaceMultiset<A>
-
retainAll
-
retainAllUnchecked
- Specified by:
retainAllUnchecked
in interfaceMultiset<A>
-