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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidclear()booleanbooleanremoveAll(Collection<? extends A> c) booleanremoveAllUnchecked(Collection<?> c) booleanremoveDomain(A a) booleanbooleanbooleanretainAll(Collection<? extends A> c) booleanretainAllUnchecked(Collection<?> c) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods 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:
removeUncheckedin interfaceMultiset<A>
-
removeDomain
- Specified by:
removeDomainin interfaceMultiset<A>
-
removeDomainUnchecked
- Specified by:
removeDomainUncheckedin interfaceMultiset<A>
-
removeAll
-
removeAllUnchecked
- Specified by:
removeAllUncheckedin interfaceMultiset<A>
-
retainAll
-
retainAllUnchecked
- Specified by:
retainAllUncheckedin interfaceMultiset<A>
-