public abstract class Multisets extends Object
Modifier and Type | Method and Description |
---|---|
static <A> TreeMultiset<A> |
add(TreeMultiset<? extends A>... sets)
ABSTRAKTION von der "Tree" implementierung FEHLT FIXME
|
static <A> Iterable<Map.Entry<Integer,A>> |
ascendingCardinalities(Multiset<A> collected) |
protected static <A> int |
compareInner(Multiset<A> left,
Multiset<A> right,
Set<A> dom) |
static <A> eu.bandm.tools.ops.UnmodifiableMultiset<A> |
empty() |
static <A> Integer |
partialCompare(Multiset<A> left,
Multiset<A> right)
returns null in case of uncomparable.
|
static <A> Multiset<A> |
singleton(A first) |
static <A extends TreeMultiset<? extends B>,B> |
subtract(A first,
A second)
ABSTRAKTION von der "Tree" implementierung FEHLT FIXME
|
static <A> eu.bandm.tools.ops.UnmodifiableMultiset<A> |
unmodifiableMultiset(Multiset<A> peer) |
public static <A> eu.bandm.tools.ops.UnmodifiableMultiset<A> unmodifiableMultiset(Multiset<A> peer)
public static <A> eu.bandm.tools.ops.UnmodifiableMultiset<A> empty()
public static <A> Multiset<A> singleton(A first)
@SafeVarargs public static <A> TreeMultiset<A> add(TreeMultiset<? extends A>... sets)
public static <A extends TreeMultiset<? extends B>,B> A subtract(A first, A second)
public static <A> Integer partialCompare(Multiset<A> left, Multiset<A> right)
see also the complete user documentation .