public enum ReplicatorType extends Enum<ReplicatorType>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFollower() |
boolean |
isLearner() |
static ReplicatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicatorType Follower
public static final ReplicatorType Learner
public static ReplicatorType[] values()
for (ReplicatorType c : ReplicatorType.values()) System.out.println(c);
public static ReplicatorType 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 final boolean isFollower()
public final boolean isLearner()
Copyright © 2024. All rights reserved.