public static enum CollectionSize.Operator extends Enum<CollectionSize.Operator>
| Enum Constant and Description |
|---|
EQUAL |
GREATER_OR_EQUAL |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
check(int size,
Collection<?> collection) |
static CollectionSize.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionSize.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionSize.Operator EQUAL
public static final CollectionSize.Operator GREATER_OR_EQUAL
public static CollectionSize.Operator[] values()
for (CollectionSize.Operator c : CollectionSize.Operator.values()) System.out.println(c);
public static CollectionSize.Operator 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 abstract boolean check(int size,
Collection<?> collection)
Copyright © 2024. All rights reserved.