|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ListFeature> com.google.common.collect.testing.features.ListFeature
@GwtCompatible public enum ListFeature
Optional features of classes derived from List
.
This class is GWT compatible.
Nested Class Summary | |
---|---|
static interface |
ListFeature.Require
|
Enum Constant Summary | |
---|---|
GENERAL_PURPOSE
|
|
REMOVE_OPERATIONS
Features supported by lists where only removal is allowed. |
|
SUPPORTS_ADD_WITH_INDEX
|
|
SUPPORTS_REMOVE_WITH_INDEX
|
|
SUPPORTS_SET
|
Method Summary | |
---|---|
Set<Feature<? super List>> |
getImpliedFeatures()
Returns the set of features that are implied by this feature. |
static ListFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ListFeature[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ListFeature SUPPORTS_SET
public static final ListFeature SUPPORTS_ADD_WITH_INDEX
public static final ListFeature SUPPORTS_REMOVE_WITH_INDEX
public static final ListFeature GENERAL_PURPOSE
public static final ListFeature REMOVE_OPERATIONS
Method Detail |
---|
public static ListFeature[] values()
for (ListFeature c : ListFeature.values()) System.out.println(c);
public static ListFeature valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic Set<Feature<? super List>> getImpliedFeatures()
Feature
getImpliedFeatures
in interface Feature<List>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |