| Package | Description |
|---|---|
| eu.simuline.util |
Utility classes: very inhomogeneous.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
CollectionsExt.AbstractImmutableMultiSet<C extends MultiSet<E>,E>
A MultiSet which prevents being modified
by throwing an exception for the modifying methods.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SortedMultiSet<T>
Represents a sorted set with multiplicities.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMultiSet<MAP extends Map<T,MultiSet.Multiplicity>,T>
Represents an abstract MultiSet based on a
Map. |
(package private) static class |
CollectionsExt.AbstractImmutableMultiSet<C extends MultiSet<E>,E>
A MultiSet which prevents being modified
by throwing an exception for the modifying methods.
|
(package private) static class |
CollectionsExt.ImmutableMultiSet<E>
A multi-set which prevents being modified
by throwing an exception for the modifying methods.
|
(package private) static class |
CollectionsExt.ImmutableSortedMultiSet<E>
A sorted multi-set which prevents being modified
by throwing an exception for the modifying methods.
|
class |
HashMultiSet<T>
Represents a set with multiplicities based on a
HashMap. |
class |
TreeMultiSet<T>
Represents a sorted set with multiplicities based on a
TreeMap. |
| Modifier and Type | Field and Description |
|---|---|
private MultiSet<E> |
CollectionsExt.ImmutableMultiSet.mSet
The enclosed multi-set containing the elements of this multi-set.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> MultiSet<E> |
CollectionsExt.getImmutableMultiSet(MultiSet<E> mSet) |
static <E> MultiSet<E> |
CollectionsExt.getImmutableSortedMultiSet(SortedMultiSet<E> mSet) |
MultiSet<E> |
CollectionsExt.ImmutableMultiSet.unrestricted() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CollectionsExt.AbstractImmutableMultiSet.addAll(MultiSet<? extends E> mvs) |
boolean |
AbstractMultiSet.addAll(MultiSet<? extends T> mvs)
Adds
mvs elementwise to this multi set
increasing multiplicities
and returns whether this caused a change
of the underlying set.
**** strange implementation; also: change |
boolean |
MultiSet.addAll(MultiSet<? extends T> mvs)
Adds
mvs elementwise to this multi set
taking multiplicities into account
and returns whether this caused a change
of the underlying set.
**** strange implementation; also: change |
static <E> MultiSet<E> |
CollectionsExt.getImmutableMultiSet(MultiSet<E> mSet) |
| Constructor and Description |
|---|
HashMultiSet(MultiSet<? extends T> other)
Copy constructor.
|
ImmutableMultiSet(MultiSet<E> mSet)
Creates a new empty
ImmutableMultiSet
which equals mSet but cannot be modified
neither directly nor via its iterator. |
MultiSetIteratorImpl(MultiSet<T> multiSet) |
TreeMultiSet(MultiSet<? extends T> other)
Copy constructor.
|
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.