@GwtCompatible public enum WrongType extends Enum<WrongType>
A type which will never be used as the element type of any collection in our tests, and so can be used to test how a Collection behaves when given input of the wrong type.
| Enum Constant and Description |
|---|
VALUE |
| Modifier and Type | Method and Description |
|---|---|
static WrongType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WrongType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WrongType VALUE
public static WrongType[] values()
for (WrongType c : WrongType.values()) System.out.println(c);
public static WrongType 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 null