@GwtCompatible public enum MultisetFeature extends Enum<MultisetFeature> implements Feature<com.google.common.collect.Multiset>
Multiset.| Modifier and Type | Class and Description |
|---|---|
static interface |
MultisetFeature.Require |
| Enum Constant and Description |
|---|
ENTRIES_ARE_VIEWS
Indicates that elements from
Multiset.entrySet() update to reflect changes in the
backing multiset. |
| Modifier and Type | Method and Description |
|---|---|
Set<Feature<? super com.google.common.collect.Multiset>> |
getImpliedFeatures()
Returns the set of features that are implied by this feature.
|
static MultisetFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultisetFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultisetFeature ENTRIES_ARE_VIEWS
Multiset.entrySet() update to reflect changes in the
backing multiset.public static MultisetFeature[] values()
for (MultisetFeature c : MultisetFeature.values()) System.out.println(c);
public static MultisetFeature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Set<Feature<? super com.google.common.collect.Multiset>> getImpliedFeatures()
FeaturegetImpliedFeatures in interface Feature<com.google.common.collect.Multiset>Copyright © 2010–2019. All rights reserved.