| Package | Description |
|---|---|
| eu.simuline.util |
Utility classes: very inhomogeneous.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMultiSet<MAP extends Map<T,MultiSet.Multiplicity>,T>
Represents an abstract MultiSet based on a
Map. |
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMultiSet.MultiplicityImpl
Serves as a wrapper object for a multiplicity
AbstractMultiSet.MultiplicityImpl.mult. |
private static class |
CollectionsExt.ImmutableMultiplicity
An immutable implementation of the multiplicity interface.
|
| Modifier and Type | Field and Description |
|---|---|
private MultiSet.Multiplicity |
CollectionsExt.ImmutableMultiplicity.wrapped |
| Modifier and Type | Field and Description |
|---|---|
private Iterator<Map.Entry<T,MultiSet.Multiplicity>> |
AbstractMultiSet.MultiSetIteratorImpl.entrySetIter
An iterator on the entries
of the map
AbstractMultiSet.obj2mult
associating each element of the underlying MultiSet
with its multiplicity. |
private Map.Entry<T,MultiSet.Multiplicity> |
AbstractMultiSet.MultiSetIteratorImpl.last
The element returned last by invoking
AbstractMultiSet.MultiSetIteratorImpl.next()
in the iterator AbstractMultiSet.MultiSetIteratorImpl.entrySetIter
or null if AbstractMultiSet.MultiSetIteratorImpl.next() has not yet been invoked
or the element returned by the last invocation of AbstractMultiSet.MultiSetIteratorImpl.next()
has been removed in the meantime
invoking a method of this iterator (instance). |
| Modifier and Type | Method and Description |
|---|---|
MultiSet.Multiplicity |
AbstractMultiSet.getMultiplicityObj(Object obj)
Returns the multiplicity object of the given object in this set
or
null. |
MultiSet.Multiplicity |
MultiSet.getMultiplicityObj(Object obj)
Returns the multiplicity object of the given object in this set
or
null. |
MultiSet.Multiplicity |
CollectionsExt.AbstractImmutableMultiSet.getMultiplicityObj(Object obj) |
MultiSet.Multiplicity |
MultiSetIterator.getMultObj() |
MultiSet.Multiplicity |
AbstractMultiSet.MultiSetIteratorImpl.getMultObj() |
| Modifier and Type | Method and Description |
|---|---|
Map<T,MultiSet.Multiplicity> |
HashMultiSet.getMap()
Returns a view of the underlying map of this
MultiSet
as a map mapping each entry to its multiplicity. |
NavigableMap<T,MultiSet.Multiplicity> |
SortedMultiSet.getMap()
Returns a view of the underlying map of this
MultiSet
as a map mapping each entry to its multiplicity. |
Map<T,MultiSet.Multiplicity> |
MultiSet.getMap()
Returns a view of the underlying map of this
MultiSet
as a map mapping each entry to its multiplicity. |
NavigableMap<T,MultiSet.Multiplicity> |
TreeMultiSet.getMap()
Returns a view of the underlying map of this
SortedMultiSet
as a map mapping each entry to its multiplicity. |
Map<E,MultiSet.Multiplicity> |
CollectionsExt.AbstractImmutableMultiSet.getMap() |
NavigableMap<E,MultiSet.Multiplicity> |
CollectionsExt.ImmutableSortedMultiSet.getMap() |
private Map.Entry<T,MultiSet.Multiplicity> |
AbstractMultiSet.getMaxObjWithMult()
Returns a Map.Entry
representing an element in this
MultiSet
with maximal multiplicity together with this multiplicity,
except if this set is empty. |
Set<Map.Entry<T,MultiSet.Multiplicity>> |
AbstractMultiSet.getSetWithMults()
Returns a Set view of the mapping
from the element of this
MultiSet
to the according multiplicities. |
Set<Map.Entry<T,MultiSet.Multiplicity>> |
MultiSet.getSetWithMults()
Returns a Set view of the mapping
from the element of this
MultiSet
to the according multiplicities. |
Set<Map.Entry<E,MultiSet.Multiplicity>> |
CollectionsExt.AbstractImmutableMultiSet.getSetWithMults() |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractMultiSet.MultiplicityImpl.compareTo(MultiSet.Multiplicity mult)
Defines the natural ordering on natural numbers.
|
int |
MultiSet.Multiplicity.compareTo(MultiSet.Multiplicity mult)
Defines the natural ordering on natural numbers.
|
int |
CollectionsExt.ImmutableMultiplicity.compareTo(MultiSet.Multiplicity mult) |
| Constructor and Description |
|---|
ImmutableMultiplicity(MultiSet.Multiplicity wrapped,
Set<CollectionsExt.Modification> mod) |
| Constructor and Description |
|---|
HashMultiSet(Map<T,MultiSet.Multiplicity> t2mult) |
TreeMultiSet(NavigableMap<T,MultiSet.Multiplicity> t2mult) |
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.