private static enum TreeMultiset.Aggregate extends java.lang.Enum<TreeMultiset.Aggregate>
Modifier and Type | Method and Description |
---|---|
(package private) abstract int |
nodeAggregate(TreeMultiset.AvlNode<?> node) |
(package private) abstract long |
treeAggregate(TreeMultiset.AvlNode<?> root) |
static TreeMultiset.Aggregate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeMultiset.Aggregate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeMultiset.Aggregate SIZE
public static final TreeMultiset.Aggregate DISTINCT
public static TreeMultiset.Aggregate[] values()
for (TreeMultiset.Aggregate c : TreeMultiset.Aggregate.values()) System.out.println(c);
public static TreeMultiset.Aggregate valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullabstract int nodeAggregate(TreeMultiset.AvlNode<?> node)
abstract long treeAggregate(@CheckForNull TreeMultiset.AvlNode<?> root)