public enum SubscriptionNotSupported extends Enum<SubscriptionNotSupported> implements Subscription
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
boolean |
isComplete() |
static SubscriptionNotSupported |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionNotSupported[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionNotSupported INSTANCE
public static SubscriptionNotSupported[] values()
for (SubscriptionNotSupported c : SubscriptionNotSupported.values()) System.out.println(c);
public static SubscriptionNotSupported 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 void cancel()
cancel
in interface Subscription
public boolean isComplete()
isComplete
in interface Subscription
Copyright © 2021. All rights reserved.